On Sunday I purchased a brand new MacBook Pro 13" w/TouchBar. I used it a little last night and put it in my backpack with 75% battery life. I shut the lid and assumed the MacBook was sleeping when I put it in my backpack. Unfortunately when I got to school this morning the battery was completely dead. Since I wonder what happened to the 75% battery I had left and am very concerned damage from overheating might happen with it running in a backpack. I checked Console / sys logs and nothing jumps out.

Is there anyway to see the historical battery life to find out if the laptop was left on overnight?

1 Answer 1


Open activity monitor and select energy. It might take a while to crunch the logs, but that should show you some recent history for 12 hours of activity.

I think it offered more time in the past if you were sleeping, but now it seems to only show you a 12 hour clock window.

enter image description here

The command line tool pmset -g log should dump a much more detailed and verbose log of history going back further than 12 hours. You will probably want to process that - perhaps printing only the lines that match the string Charge and then paging the results.

pmset -g log | grep -w Charge | more
pmset -g log | grep -w Summary- | more

Once you see if it slept and how the charge went down, I wouldn't worry about it running hot while closed. I run Mac at high CPU/GPU while closed clamshell all the time (most of the day) and have never had any issues with longevity in practice or overheating - the CPU throttles down when the blowers or heat can't escape due to a blockage or insulation to stay within safe temperature ranges.

  • It looks like that only goes back 12 hours, we are now 12-24 hours...
    – AAA
    Sep 11, 2018 at 23:19
  • @aaa Yes indeed - you can get more from the command line. See my edit above. You can also use the thermlog to check running thermal conditions, but that is ongoing and not something you can look backwards at AFAIK.
    – bmike
    Sep 11, 2018 at 23:34
  • Thank you! That shows that my MacBook was awake all the way up until 5am... not cool! Now to find out what it was doing
    – AAA
    Sep 11, 2018 at 23:46
  • @AAA want to know what was it doing in the middle of the night. Open Console in Utility and scroll back the system log to the time stamp of interest
    – Ruskes
    Sep 12, 2018 at 0:11
  • Thank you - not a whole lot happening. Mostly lines like this: systemstats[53]: assertion failed: XYZ: systemstats + XYZ
    – AAA
    Sep 12, 2018 at 0:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .