Files
Waybars/src/modules
Anthony Ruhier 4be1f3bf42 fix: battery runtime estimation with negative sysfs values
Some drivers (example: qualcomm-battmgr, present on Snapdragon X1
laptops) expose the current_now and power_now values in sysfs as
negative int when the device is discharging, positive when charging.

This breaks the battery runtime estimation in Waybar, as it expects a
uint32 for power_now.

Change the battery module to use the absolute values of current_now and
power_now.
2025-02-16 18:33:03 +01:00
..
2024-02-24 00:30:44 -08:00
2025-01-25 09:31:32 +01:00
2024-09-13 08:55:14 +02:00
2024-06-10 17:31:00 +08:00
2024-09-13 09:43:19 +02:00
2025-01-10 16:41:33 +01:00
2025-01-25 09:31:32 +01:00
2023-10-15 17:52:12 -03:00
2025-01-25 09:31:32 +01:00
2025-01-25 09:31:32 +01:00
2024-02-19 23:10:10 +01:00
2024-09-18 17:30:55 +02:00
2023-10-09 15:26:07 -03:00
2023-07-04 19:48:04 +02:00
2024-09-13 09:40:35 +02:00
2024-01-30 09:07:37 +01:00