q-power_supply: ignore Mains type

This commit is contained in:
tv 2023-01-30 16:29:50 +01:00
parent 4cfc02239b
commit 006dd80a76
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ writeDashBin "q-power_supply" ''
s/^\([A-Z_]\+=[0-9A-Za-z_-]*\)$/export \1/p
' $uevent)"
case $POWER_SUPPLY_NAME in
AC)
AC|Mains)
exit # not battery
;;
esac