power: fix LBC charger FSM, BMS-VM fuel gauge, WCN36xx BMPS, WCD clock gating, and battery UI

This commit is contained in:
Luxferre committed 2026-11-03 12:44:17 +02:00
1 parent ebdb0f8ee2
commit 06d991d4fa
47 files changed
+727 -45

No files matched your search

+10
View File
@@ -49,9 +49,19 @@ xorgdisplay() {
if [ -w /sys/class/backlight/backlight/bl_power ]; then
printf '4\n' > /sys/class/backlight/backlight/bl_power 2>/dev/null || true
fi
if [ -w /sys/devices/system/cpu/cpufreq/policy0/scaling_governor ]; then
printf 'powersave\n' > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor 2>/dev/null || true
fi
pkill -STOP -x conky 2>/dev/null || true
xset s off s noblank >/dev/null 2>&1 || true
;;
on)
if [ -w /sys/devices/system/cpu/cpufreq/policy0/scaling_governor ]; then
printf 'schedutil\n' > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor 2>/dev/null || true
fi
if [ ! -f /tmp/bananarchy_screen_locked ]; then
pkill -CONT -x conky 2>/dev/null || true
fi
xset s off s noblank >/dev/null 2>&1 || true
if [ -w /sys/class/backlight/backlight/bl_power ]; then
printf '0\n' > /sys/class/backlight/backlight/bl_power 2>/dev/null || true