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 $js.chrome.power.reportActivity().toDart;
}