Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
Mac OSX : is there a way to know with code if the user's Macbook is charging?
Asked
Jun 19 '13 at 08:43
Active
Jun 19 '13 at 08:43
Viewed
106 times
0
0
Is there a way to know with code if the user's Macbook is charging ?
Thanks !
xcode
macos
operating-system
system
asked Jun 19 '13 at 08:43
toto_tata
14,526
27
108
198
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 Answers
0