Brian Harring 6a927c5d19 hooks/pre-auto-gc: look in sysfs to see if a battery is known.
Barring any kernel bugs, if this directory exists and there is
a symlink in there (which will point to the battery object),
that means there is a battery known to the kernel.

No symlink should mean no battery as far as the kernel is concerned.

Change-Id: Ib12819a5bbb816f0ae5ca080e5812a2db08441e9
2012-05-25 02:25:59 -07:00
2012-05-24 09:07:24 -07:00
2009-06-02 00:09:07 +02:00
2009-06-02 00:09:07 +02:00
2012-04-23 13:43:41 -07:00
2008-10-21 07:00:00 -07:00
2012-04-13 09:46:00 -07:00
2011-09-19 14:52:57 -07:00
2012-05-24 15:40:05 -07:00
2012-04-23 12:50:00 -07:00
2012-02-28 18:54:33 -08:00
Description
No description provided
Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%