Add udev rules to update status bar plugging in / unplugging charger

This commit is contained in:
Miles Alan 2020-07-12 19:24:07 -05:00
parent 0801bb1adb
commit 579503ee1f
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,2 @@
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="/usr/bin/sxmo_statusbarupdate.sh"
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="/usr/bin/sxmo_statusbarupdate.sh"