Same battery run on macOS and on Omarchy (Asahi kernel, then linux-aurora) on one MacBook Air M1.
| macOS 27.0.1 | Omarchy 4.5 (Asahi kernel) | Omarchy 4.5 (linux-aurora) | |
|---|---|---|---|
| 100% to shutdown | 6 h 57 m | 5 h 23 m (-23%) | 5 h 59 m (-14%) |
| average draw | 6.34 W | 8.10 W (+28%) | 7.22 W (+14%) |
| energy drawn | 43.4 Wh | 43.6 Wh | 43.2 Wh |
Details, versions and per-hour numbers: results/README.md. Raw logs: results/*.csv.
- Charge to 100%, unplug. Brightness at maximum (the only level that matches on both OSes; auto-brightness and True Tone off), Wi-Fi on, Bluetooth off, nothing else open.
- Open
workload.htmlfull screen in Chrome (Chromium on Omarchy, its default, so both runs use the same engine): a different public page every 60 s. - In a terminal, with the screen kept awake (otherwise the display sleeps and the run measures nothing):
- macOS:
caffeinate -di ./battlog.sh macos-run1.csv - Omarchy: run
omarchy-toggle-idlefirst (Omarchy 4 has no hypridle, the shell blanks the screen), thensystemd-inhibit --what=idle:sleep ./battlog.sh omarchy-run1.csv
- macOS:
- Leave it until the laptop shuts down. The CSV keeps the last line it wrote.
Compare: hours from 100% to the end, and the average watts while discharging.
Chart: python3 chart.py results/battery.png from results/ (needs matplotlib).
Note: news.ycombinator.com refuses to load in an iframe, so that slot shows a blank page; it does so on both systems.
