Module sensors
Source - Backlight
- Holds information about backlight
- Battery
- Contains capacity and current status of battery
- TemperatureSensor
- Contains temperature sensor’s name and recorded temperature
- BatteryStatus
- Represents the current status of battery
- batteryInfo
- Returns battery current status and capacity as specified in
Battery
struct, returns None
if it’s not possible to retrieve data - getBacklight
- Returns the current backlight brightness and the maximum possible value or
None
if it’s not possible to retrieve data - temperatureSensors
- Returns every temperature sensor in the system, using the
TemperatureSensor
struct