Merged

omacom/omarchy#20881 was opened and merged by dhh on 30 November 2026, about eleven minutes apart. It adds a Battery history section to the power panel. The section shows one bar per hour for the last 24 hours and a strip for time spent on external power, and hovering over an hour shows how much battery was used or gained. Totals for screen-on time and battery used appear underneath. The existing 30-second battery check collects the data, so nothing new runs while the machine is idle. The charge limit becomes a Battery saver section, and the charge cycles row is removed.

dhh replied to three review points. In omacom/omarchy#20881:discussion_r4736269406, every drop in charge is now added to an hourly tally, so a dip that is charged back within the hour still counts. In omacom/omarchy#20881:discussion_r4736292520, drops measured against a record older than the 24-hour window are no longer counted, so a laptop left closed for days does not add that drain to the total. In omacom/omarchy#20881:discussion_r4736269664, dhh left the screen-blanking detection as it is. dhh said Omarchy only blanks the display from the lock screen and that reading the real display state would require polling.

The pull request lists some limits. The chart starts from the current hour with no backfill. Hours are counted in UTC. A real suspend and a real idle blank were not tested live.