Toggles the wakelock based on the given enable value.
enable
@override Future<void> toggle({required bool enable}) async { final message = ToggleMessage(); message.enable = enable; await _api.toggle(message); }