-
spiiroin authored
Usb-moded expects to see POWER_SUPPLY_PRESENT and POWER_SUPPLY_TYPE properties defined for usb power-supply devices. When this is not the case, it emits warnings and applies various fallbacks. Since the properties get re-evaluated periodically, this also leads to the same warnings being repeated. Refactor the code so that in default verbosity the property warnings are emitted only during what looks like cable connect / disconnect. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
0d5a10b7
Name |
Last commit
|
Last update |
---|---|---|
config | ||
debian | ||
docs | ||
openembedded | ||
rpm | ||
src | ||
systemd | ||
utils | ||
.gitignore | ||
Copyright | ||
LICENSE | ||
Makefile.am | ||
README.md | ||
TODO | ||
autogen.sh | ||
configure.ac | ||
usb-moded.ini | ||
usb_moded.pc.in |