UtilityModule class

Module for managing system energy levels, battery status, and thermal thresholds.

Constructors

UtilityModule()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getThermalState() Future<DeviceThermalState>
Gets the current physical device thermal state.
isEcoModeActive() Future<bool>
Returns whether EcoMode is currently active (auto-triggered by battery status).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEcoModeEnabled(bool enabled) Future<void>
Enables or disables system-wide power-saving EcoMode.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited