separate docs stubs Includes introducing a cool new script to turn lua-language-server's json output into markdown documentation.
12 lines
458 B
Lua
12 lines
458 B
Lua
--- @meta
|
|
|
|
--- The `power` module contains properties and functions that relate to the
|
|
--- device's battery and charging 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
|