Add udev rules to update status bar plugging in / unplugging charger
This commit is contained in:
parent
0801bb1adb
commit
579503ee1f
2 changed files with 6 additions and 1 deletions
2
configs/udev/50-sxmo.rules
Normal file
2
configs/udev/50-sxmo.rules
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue