forked from ukoda/lcd4linux-ax206
-
-
Notifications
You must be signed in to change notification settings - Fork 0
plugin_apm
Alejandro Mora edited this page Mar 9, 2026
·
1 revision
This plugin provides an interface to the /proc/apm file.
| apm(key) | parse /proc/apm and return the value of |
|---|
The following keys are valid:
| driver_version | Linux driver version |
|---|---|
| bios_version | APM BIOS Version. Usually 1.0, 1.1 or 1.2. |
| bios_flags | APM flags from APM Installation Check |
| line_status | AC line status: 0=Off-line, 1=On-line, 2=On backup power, 255=Unknown |
| battery_status | Battery status: 0=High, 1=Low, 2=Critical, 3=Charging, 4=Selected battery not present, 255=unknown |
| battery_flag | Battery flag |
| battery_percent | Remaining battery life (percentage of charge) |
| battery_remaining | Remaining battery life (time units) |
| time_units | time units: min = minutes; sec = seconds |
see the kernel source /usr/src/linux/arch/i386/kernel/apm.c for details.
The official LCD4Linux(AX206) Wiki
Back from the dead!
Back from the dead!
Documentation
Developers
Resources
Legacy (0.9)
AX206 Fork