4

Is it possible to see when I put my mac to sleep on a specific date?

Vincent
  • 155
  • I ended up using pmset -g log|grep -e " Sleep " -e " Wake " – Vincent Jul 31 '15 at 13:50
  • Hi @Vincent, if you solved your issue, you may post it as an answer and accept it; it may help others and won't appear as unanswered for the rest of the community. Thanks! – Jaime Santa Cruz Jul 31 '15 at 13:56
  • added bounty because I need to go back further than 2 weeks.. – Vincent Sep 29 '15 at 14:31
  • I think there's no way to recover the old logs from before 2 weeks if you didn't installed an app like Sleep Monitor way before. – Kevin Oct 05 '15 at 11:54

2 Answers2

7

Found the answer in this so question:how to find out the start time of last sleep

Luckily the date I had in mind wasn't too long ago so I was able to use

pmset -g log|grep -e " Sleep  " -e " Wake  "
Vincent
  • 155
  • Nice, it looks like it goes back as far as 2 weeks with the history log. (+) from me. Just out of interest, why do you need to know that? – Ruskes Jul 31 '15 at 15:43
  • @Buscar웃 forgot to log my work when doing a job for a client – Vincent Aug 03 '15 at 07:23
4

For 10.9 and earlier, you could use the application Sleep Monitor.

Sleep Monitor is an application I wrote that produces logs and graphs of power on/off, sleep, wake, and battery levels:

DssW Sleep Monitor

Graham Miln
  • 43,776