summaryrefslogtreecommitdiffstats
path: root/subcmds/diff.py
diff options
context:
space:
mode:
authorBrian Harring <ferringb@chromium.org>2012-05-25 02:21:06 -0700
committerBrian Harring <ferringb@chromium.org>2012-05-25 02:25:59 -0700
commit6a927c5d1990a9391242baa00c5ac71490c50c28 (patch)
tree78e93bbfe8efa4cd0f10edc69dbc01d559407d89 /subcmds/diff.py
parenteca119e5d6f0aa61cad6be1421aa523482e9cde7 (diff)
downloadgit-repo-6a927c5d1990a9391242baa00c5ac71490c50c28.tar.gz
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
Diffstat (limited to 'subcmds/diff.py')
0 files changed, 0 insertions, 0 deletions