commit | 144bbeaedc53290eab21da82ce1cb5faefd14374 | [log] [tgz] |
---|---|---|
author | Andres Salomon <dilinger@collabora.co.uk> | Tue Jun 30 02:15:26 2009 -0400 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Wed Jul 01 02:48:37 2009 +0400 |
tree | bbcbe31427ae566955323a3f988bb0f8569c49ff | |
parent | b294a290d24d1196d68399cc3a9b8c50bfb55abd [diff] |
olpc_battery: Add an 'error' sysfs device that displays raw errors Grab the error code from EC_BAT_ERRCODE and let the user see it (rather than attempting to decode it as we do with PROP_HEALTH) with a separate error sysfs file. Signed-off-by: Andres Salomon <dilinger@collabora.co.uk> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>