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

Split out common functionality and implement device specific module #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

morphis
Copy link

@morphis morphis commented Oct 16, 2012

This mainly implements a device specific charger module. Its mainly the same implementation as I did for the battery module in the other pull-request. Before you can merge this you have to merge the battery changes to get the required libudev package detection into the cmake build definition.

Please tell me if you have any questions about the implementation.

regards,
Simon

With splitting out common module functionality we're now able to add different
implementations for the charger module. For target emulator machines this is still the
same dummy implementation as before.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <[email protected]>
The device implementation is based on the common linux power supply interface and is per
default enabled to detect changes for AC and USB chargers. It's using libudev to detect
a changed charger status.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <[email protected]>
@Herrie82 Herrie82 deleted the for-upstream/charger branch July 12, 2019 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant