I have found a way to set laptop-mode variables via /etc without modifying the script from pm-utils:
:: Code ::# echo LAPTOP_DIRTY_RATIO=50 > /etc/pm/config.d/laptop-mode
# echo LAPTOP_DIRTY_BG_RATIO=20 >> /etc/pm/config.d/laptop-mode
This only works while running on battery. To force the values even while running on AC, execute:
:: Code ::# pm-powersave true
Do note that this command will run powersaving tweaks apart from laptop-mode. If this is undesired while on AC, then modifying the appropriate line from the script as detailed previously is the only workaround for now.
Back to top
All times are GMT - 8 Hours