So, you are having issues with battery life on linux. Then head over to tlp project.
TLP brings you the benefits of advanced power management for Linux
without the need to understand every technical detail. TLP comes
with a default configuration already optimized for battery life.
Also an optional install of the smartmontools package enables hard
disk SMART data in tlp-stat (smartctl).
Install with following command
dnf install tlp #or yum install tlp