Asus G14 - Configuration to save battery
In this post I assume that you are using the Kernel from: https://asus-linux.org/guides/
Disable CPU Boost
Do every time you boot the laptop, or add a task in cron to do automatically at boot time.
echo "0" | sudo tee /sys/devices/system/cpu/cpufreq/boost
Display to 60 Hz
Disable dGPU (Nvidia) on demand
1. Install Supergfxctl
To do so in a correct way, we need to install first supergfxctl from https://asus-linux.org
2. Adding parameter to the Kernel
Add this line at the en of your Kernel options.
nvidia-drm.modeset=0
Reboot your system.
3. Enable NvidiaNoModeset mode to disable dGPU
supergfxctl -m NvidiaNoModeset
Now you can check that the dGPU is enabled running:
nvidia-smi
if you want to use only the Integrated GPU, run:
supergfxctl -m Integrated
You can also switch it graphically if you wish: https://asus-linux.org/third-party/
Throttle Policy (fans speed)
Hint 💡 (Battery live):
Limit the charge limit to about 60% (See the last image). I have been doing so for like 3 years, and from 76.0 Wh I have fully charged 56.1 Wh (73%)
I recommend you to check the battery consumption with: https://github.com/svartalf/rust-battop.
That is all :) . Enjoy