Reduce power usage while charging
Created by: ollieparanoid
@drebrez wrote in https://github.com/postmarketOS/pmbootstrap/issues/1081#issuecomment-370619092:
I've downloaded the lineage os kernel for the
samsung-i9100
, extracted the initramfs and the internalboot.cpio
. [...]
- Search in the various
.rc
files for settings to reduce performance and improve charing. e.g.:
on charger
# CPU Frequency Governor
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave
# EHCI runtime enable for LPA
write /sys/devices/platform/s5p-ehci/power/control auto
I think it makes a lot of sense to use the same settings for reducing power usage while charging with charging-sdl