Battery
properties
available
:boolean
whether a battery is available or notpercent
:number
round number from 0 to 100charging
:boolean
charged
:boolean
fully charged or percent == 100 and chargingicon-name
:string
time-remaining
:number
time in seconds until fully charged (when charging) or until it fully drains (when discharging)energy
:number
- current energy in Wenergy-full
:number
capacity in Wenergy-rate
:number
- drain rate in W (positive if not charging, negative if charging)