MacBook: woke up to an empty battery, how to get battery history?

MacBook: woke up to an empty battery, how to get battery history?



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


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 '18 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 '18 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 '18 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

– Buscar웃
Sep 12 '18 at 0:11






Thank you - not a whole lot happening. Mostly lines like this: systemstats[53]: assertion failed: XYZ: systemstats + XYZ

– AAA
Sep 12 '18 at 0:21



Thanks for contributing an answer to Ask Different!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Crossroads (UK TV series)

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế