Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[battery-udev] Make charger type available on D-Bus. JB#38667
Battery notifier in lipstick needs charger type information. Add charger type evaluation to udev power supply device tracker and broadcast changes internally within mce via a datapipe. Reflect datapipe changes as D-Bus signals, and add D-Bus methods for querying the current state. For development builds enable charger type simulation and appropriate mcetool options for controlling it. The required D-Bus constants are available in mce-dev >= 1.27.0. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
10 changed files
with
518 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.