revise assumptions as to where batteries are
This commit is contained in:
parent
653915eca6
commit
d421df5a0b
|
@ -6,8 +6,8 @@
|
||||||
#elif TOASTER
|
#elif TOASTER
|
||||||
#define BATTERY_DIR "BAT0"
|
#define BATTERY_DIR "BAT0"
|
||||||
#else
|
#else
|
||||||
/* just assume we're running on fish */
|
/* just assume the battery is BAT0 */
|
||||||
#define BATTERY_DIR "sbs-20-000b"
|
#define BATTERY_DIR "BAT0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BATTERY_PRE "/sys/class/power_supply/"
|
#define BATTERY_PRE "/sys/class/power_supply/"
|
||||||
|
|
Loading…
Reference in New Issue