You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
423 B
10 lines
423 B
--- @meta
|
|
|
|
--- Properties and functions that deal with the device's battery and power state.
|
|
--- @class power
|
|
--- @field battery_pct Property The battery's current charge, as a percentage of the maximum charge.
|
|
--- @field battery_millivolts Property The battery's current voltage, in millivolts.
|
|
--- @field plugged_in Property Whether or not the device is currently receiving external power.
|
|
local power = {}
|
|
|
|
return power
|
|
|