power: optimize kernel timers, GPU devfreq, conky, and D-Bus monitors for battery life
This commit is contained in:
1 parent
5da053d8a5
commit
e42eb573ed
7 files changed
+900
-885
No files matched your search
+14
@@ -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
|
||||
|
||||
Reference in new issue
Block a user