reportActivity method

Future<void> reportActivity()

Reports a user activity in order to awake the screen from a dimmed or turned off state or from a screensaver. Exits the screensaver if it is currently active.

Implementation

Future<void> reportActivity() async {
  await promiseToFuture<void>($js.chrome.power.reportActivity());
}