You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 92f86b0
Browse filesBrowse the repository at this point in the historyBrowse files
Prefer kernel charge registers over a stuck UPower energy-full
UPower can latch energy-full after a MacBook SBS blip (484 Wh on a
54 Wh Air), so percentage and time-to-full become nonsense. omarchy-battery-status
already prefers sysfs for live watts; use charge_now/charge_full the
same way, poll that helper for the bar icon, and stop treating a
multi-hour UPower time-to-full as a charge hold.
var state =BatteryModel.shouldWarnLowBattery(UPower.displayDevice, UPower.onBattery, UPowerDeviceState.Discharging, batteryThreshold, persisted.notifiedLowBattery)
32
+
var state =BatteryModel.shouldWarnLowBattery(UPower.displayDevice, UPower.onBattery, UPowerDeviceState.Discharging, batteryThreshold, persisted.notifiedLowBattery, root.batteryInfo)
0 commit comments