Messages in this thread | | | Date | Fri, 14 Mar 2014 22:20:04 +0100 | From | Pavel Machek <> | Subject | Re: 3.14-rc: /proc/acpi/battery gone? |
| |
Hi!
> It seems /proc/acpi/battery interface is gone, and I don't see any > option to reintroduce it... what is going on? > > (I got into habit of archiving content of /proc/acpi/battery to > monitor, how battery ages..)
And this is ungood:
pavel@duo:~/denx/active$ cat /sys/class/power_supply/BAT0/alarm 2403000
What is it? Not exactly easy to guess, and not documented.
pavel@duo:~$ grep alarm /data/l/linux-good/Documentation/ABI/*/* /data/l/linux-good/Documentation/ABI/testing/sysfs-ptp:What: /sys/class/ptp/ptpN/n_alarms /data/l/linux-good/Documentation/ABI/testing/sysfs-ptp: alarms offer by the PTP hardware clock. pavel@duo:~$
I wish files with physical values included units. alarm is probably in uA, but it might be uW as well, and ... :-(.
Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |