#
hs.battery
Battery/power information All functions here may return nil, if the information requested is not available.
This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.
#
Submodules
#
API Overview
Functions - API calls offered directly by the extension
_report adapterSerialNumber amperage batterySerialNumber batteryType capacity cycles designCapacity getAll health healthCondition isCharged isCharging isFinishingCharge maxCapacity name otherBatteryInfo percentage powerSource powerSourceType privateBluetoothBatteryInfo timeRemaining timeToFullCharge voltage warningLevel watts