5 ms·
Ask HN: How can I get data on watt-hours power use per day from my MacBook?
There is a voltage readout, so is there a simple utility that will record how many wH / day my Macbook uses?
- rdegges 4y agoI built a small tool to help with this. It uses ioreg under the hood: https://github.com/rdegges/energy-tracker https://github.com/rdegges/energy-tracker
- mardiyah 4y agoUsing the ioreg CLI utility? It is included with Apple's developer tools. In the registry, Apple stores lots of hardware data, including information about your battery usage
- kbouck 4y agoif plugged in and at 100% at the start of the measurement, wouldn't a simple kill-a-watt give a decent per-day measurement? if you are looking to get the measurement data in the computer, then this isn't for you...
- killingtime74 4y agoThis is the only right answer. if you get the data from inside your computer it will not take into account conversion losses in the transformer and the true usage at the plug
- nicolaslem 4y agoSolution without any tool: lookup online the battery size of your specific machine, charge to 100%, unplug it and count how long it takes of normal usage to deplete. Nitpick, watt-hour is a unit of energy, not power. Also watt-hour per unit of time is basically a convoluted way to describe watts.
- srvmshr 4y agoMinor additional info: From System Information, note the maximum capacity, instead of the designed spec-sheet capacity (with use, always a smaller number than mint condition) and use that as 100%. Battery wear gets to be factored in then.