0

Is there a way to know with code if the user's Macbook is charging ?

Thanks !

Regis_AG
  • 12,634
  • 20
  • 90
  • 174
  • Something similar has been asked before, see: http://stackoverflow.com/questions/272552/battery-status-in-osx Please let us know if following the directions given in the answers there also work for your question. – xpereta Jun 19 '13 at 08:46
  • Have a look at this: http://stackoverflow.com/questions/5751132/mac-get-battery-charging-status-plugged-in-or-not – Thomas Coulter-Brophy Jun 19 '13 at 08:47

0 Answers0