Linux Laptops & Battery Life

Linux can easily be installed on many different types of hardware, including laptops. However, default Linux installations typically do a worse job than Windows when it comes to conserving battery power. This is despite us thinking of Linux as having less ‘bloat’ and having an overall smaller footprint. Linux does have tools to limit battery usage, and there are guides that explain how to configure Linux on a laptop, such as this one from omgubuntu....

January 15, 2021 · 1868 words · Peter Dieleman

BIOS ERROR (bug)

BIOS ERROR (bug): Could not resolve symbol [\_PR.PR00._CPC], AE_NOT_FOUND (2022103730/psargs-330) https://github.com/intel/linux-intel-lts/issues/22 https://bugzilla.kernel.org/show_bug.cgi?id=213023 `The fix was reverted recently in the upstream commit 2ca8e6285250 (which was backported to stable trees, too), hence the problem resurfaced. That said, we came back to square. Fixed again on kernel 5.18.14

August 1, 2022 · 45 words · Peter Dieleman

Full boot sector linux

run uname -r remove older kernels under /boot/ run sudo apt-get autoremove --purge E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? peter@peter-UX430UAR:~$ sudo apt --fix-broken install https://askubuntu.com/questions/668582/false-disk-full-error-apt-get-unable-to-install-or-remove

May 14, 2022 · 31 words · Peter Dieleman

Asus 430 Charging issues

Charging issue Asus 430 models running linux sometimes suffer from charging issues while suspended, see: this issue. Charging while turned off or turned on works without any issues. For me, this was resolved by adding mem_sleep_default=deep to the kernel command line. This can be done by going to sudo nano /etc/default/grub and change the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep". Not only does this enable charging while your laptop is suspended, it should also lower the amount of battery drain....

February 4, 2022 · 81 words · Peter Dieleman

Bash.rc vs .profile

Sources https://askubuntu.com/questions/402353/how-to-add-home-username-bin-to-path https://serverfault.com/questions/261802/what-are-the-functional-differences-between-profile-bash-profile-and-bashrc?newreg=7c32ccbe1d9a469eb04d26ce56510c39 https://superuser.com/questions/183870/difference-between-bashrc-and-bash-profile/183980#183980

January 20, 2022 · 4 words · Peter Dieleman