revise assumptions as to where batteries are

This commit is contained in:
randomuser 2022-11-13 15:31:26 +00:00
parent 653915eca6
commit d421df5a0b
1 changed files with 2 additions and 2 deletions

View File

@ -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/"