Power

The event command supports the subcommands listed in the table below.

Subcommand

Description

Comments

display

Display battery and charger state.

ac <on|off>

Set AC charging state to on or off.

status <unknown|charging|discharging|not-charging|full>

Change battery status as specified.

present <true|false>

Set battery presence state.

<unknown|good|overheat|dead|overvoltage|failure>

Set battery health state.

power health <percent>

Set remaining battery capacity state (0-100).

0 0

Post a comment