power: optimize kernel timers, GPU devfreq, conky, and D-Bus monitors for battery life

This commit is contained in:
Luxferre committed 2026-10-29 19:20:54 +02:00
1 parent 5da053d8a5
commit e42eb573ed
7 files changed
+900 -885

No files matched your search

@@ -0,0 +1,5 @@
[logging]
level=ERR
[connection]
wifi.powersave=3
+2 -2
View File
@@ -1,4 +1,4 @@
# /etc/conf.d/modemmanager: config file for modemmanager
# Enable quick suspend/resume hooks and debug mode (allows mmcli --command AT queries)
modemmanager_opts="--test-quick-suspend-resume --debug"
# Enable quick suspend/resume hooks with minimal logging to save power
modemmanager_opts="--test-quick-suspend-resume --log-level=ERR"
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
# Bananarchy kernel and runtime power management optimizations
# Disable fbcon cursor blinking (eliminates 5 Hz fb_flashcursor + drm_fb_helper_damage_work wakeups)
if [ -w /sys/class/graphics/fbcon/cursor_blink ]; then
echo 0 > /sys/class/graphics/fbcon/cursor_blink 2>/dev/null || true
fi
# Reduce periodic VM stat shepherd and dirty writeback timer wakeups
{ echo 10 > /proc/sys/vm/stat_interval; } 2>/dev/null || true
{ echo 1500 > /proc/sys/vm/dirty_writeback_centisecs; } 2>/dev/null || true
{ echo 3000 > /proc/sys/vm/dirty_expire_centisecs; } 2>/dev/null || true
{ echo "1 4 1 4" > /proc/sys/kernel/printk; } 2>/dev/null || true