Make on_ac_power check sysfs directly.
authorVictor Lowther <victor.lowther@gmail.com>
Wed, 23 Jun 2010 00:09:40 +0000 (19:09 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Wed, 23 Jun 2010 00:09:40 +0000 (19:09 -0500)
commit87883a1cc89618b5a985a9c78f8234fc1570c54c
tree921154d47c47576de76d5c50e7c3f31caa78d352
parent0326034188bfd6943c4958775b7b18e701c3c0ca
Make on_ac_power check sysfs directly.

This avoids us depending on power managers that depend on us.
src/on_ac_power