Messages in this thread | | | From | David Woodhouse <> | Subject | Re: apm.c and multiple battery slots | Date | Sun, 03 Feb 2002 12:01:19 +0000 |
| |
jdthood@mail.com said: > > Then we could add one line for each battery slot, > > indicating <battery status> <battery flag> <battery left % > > > <remaining time in seconds>
> How about putting each of these lines in a separate proc file? This > would avoid changing the format of /proc/apm, which would break > things.
Please don't add an APM-specific interface for batteries. Look at the other code which talks to batteries - the ACPI code, SMBus and numerous other drivers for embedded systems - and design an interface to userspace which can be used by all of them.
Preferably not in /proc.
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |