This plugin can be used to measure battery status and the current MHz on
laptops.
PowerState
- ACLINE - measures if the power is hooked to ac-line (0/1).
- STATUS - measures the status of the battery (no battery, charging,
critical, low, high).
- STATUS2 - Same as STATUS except that the BatteryFlag in SYSTEM_POWER_STATUS is returned as is.
- LIFETIME - measures the lifetime of the battery.
- PERCENT - measures percentual lifetime.
- MHZ - measures the current CPU MHz.
Format
This is the same as in TIME-measure. It is used only when PowerState is LIFETIME.