Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery API #15

Closed
beltex opened this issue Dec 10, 2014 · 6 comments
Closed

Battery API #15

beltex opened this issue Dec 10, 2014 · 6 comments

Comments

@beltex
Copy link
Owner

beltex commented Dec 10, 2014

  • Partially done
  • Missing some stats - current charge
  • Needs cleanup
@beltex beltex added this to the 0.0.1 milestone Dec 10, 2014
@beltex
Copy link
Owner Author

beltex commented Dec 17, 2014

@beltex
Copy link
Owner Author

beltex commented Jan 11, 2015

Also, any thing else useful to be had from looking at the smart battery spec?

@beltex
Copy link
Owner Author

beltex commented Jan 12, 2015

This is completed as far as 0.0.1 goes, but will leave this open for taking a deeper look at the goodies in PowerManagement.

@beltex beltex removed this from the 0.0.1 milestone Jan 12, 2015
@beltex
Copy link
Owner Author

beltex commented Jan 30, 2015

PowerManagement uses IOPMLib a bunch, has some great stuff in there. However, it's not available via the IOKit module for some reason, have to import it via a bridging header sadly. Thats fine for now since we need one anyway for the time being due to kinfo_proc, but hopefully that gets fixed.

@beltex
Copy link
Owner Author

beltex commented Feb 7, 2015

Turns out, doing import IOKit.pwr_mgt does the trick! :)

@beltex
Copy link
Owner Author

beltex commented Mar 4, 2015

Closing. Few power management related calls added, will open a separate issue for it need be.

@beltex beltex closed this as completed Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant