mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 00:32:52 +00:00
Fix batteryservice on latest bioses (#1103)
Based on my testing with my Deck LCD on 0131 it seems that it randomly loses the setting after sleep/reboot/shutdown. Run this command after each possible systemd stage to force it to leave this applied correctly. Tested locally.
This commit is contained in:
parent
f11bcdd4de
commit
c263c40b8f
@ -7,4 +7,4 @@ EnvironmentFile=-/etc/default/%p
|
||||
ExecStart=/usr/bin/bash -c "echo ${MAX_BATTERY_CHARGE_LEVEL} > /sys/class/hwmon/hwmon*/max_battery_charge_level"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target reboot.target hibernate.target hybrid-sleep.target sleep.target suspend-then-hibernate.target suspend.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user