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

Undocumented System Event power_source to be added #944

Open
technobly opened this issue Feb 21, 2019 · 0 comments
Open

Undocumented System Event power_source to be added #944

technobly opened this issue Feb 21, 2019 · 0 comments

Comments

@technobly
Copy link
Member

Since 0.8.0 / 1.0.0

power_source system event notified when the PMIC source changes

Parameter will be one of the following ENUMs

typedef enum {
    POWER_SOURCE_UNKNOWN = 0,
    POWER_SOURCE_VIN = 1,
    POWER_SOURCE_USB_HOST = 2,
    POWER_SOURCE_USB_ADAPTER = 3,
    POWER_SOURCE_USB_OTG = 4,
    POWER_SOURCE_BATTERY = 5
} power_source_t;
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

No branches or pull requests

1 participant