Low battery notification

I am attending online lecture for 2-3 hr or doing anything in my laptop when battery low approx 15% it shutdown automatically without any notification

Hi there,
Please share output of


As text, enclosed in ~~~


I can't check on my system at the moment, anyway, I found something interesting searching on the web.
You could try to check if this behaviour is triggered by upower.
There should be a file /etc/UPower/UPower.conf with some parameters to check, like PercentageLow and PercentageCritical for notifications, and PercentageAction to shutdown.
I don't know if this is the real culprit, because you should have had notifications, but at least if you have PercentageAction=15 that could be something to test.
These are my current (and default) values):


garuda-inxi may be found in the following packages:
chaotic-aur/garuda-common-settings 2.5.3-1                    /usr/bin/garuda-inxi
chaotic-aur/garuda-common-settings-git 2.5.3.r0.g8e5b36b-1    /usr/bin/garuda-inxi

my default values

today also same watching youtube at fullscreen no records of time and suddenly laptop off
when i plug powercable and start it show 22 % percentage so i think it off 0n 20% automatically every time

Your system is not updated since a while.
Enter update in terminal. This will update your system and make available garuda-inxi.

update may be found in the following packages:
community/gitlab 14.5.2-1                             /usr/share/webapps/gitlab/bin/update
community/gitlab 14.5.2-1                             /usr/share/webapps/gitlab/vendor/bundle/ruby/2.7.0/gems/bootstrap_form-4.2.0/demo/bin/update
community/mailman 2.1.39-1                            /usr/lib/mailman/bin/update
chaotic-aur/android-sdk-platform-tools 31.0.3-1       /opt/android-sdk/platform-tools/systrace/catapult/dependency_manager/bin/update
chaotic-aur/garuda-update 1.8.5-1                     /usr/bin/update

What next ?

This means that you still have to add chaotic-aur in your pacman.conf adding

Include = /etc/pacman.d/chaotic-mirrorlist
1 Like

If you want, you can reset the whole pacman configuration with

sudo bash -c ". <(wget -qO- https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-common-settings/-/snippets/2147440/raw/main/remote-update)"

i did this, it say something 1 gb download and install around 6gb and i Y it
so i assume it take atleast an hour so i plug my pc in charger then update it till then i go walk around so i open bluetooth settings from dock panel above and try to discconect bluetooth then i notice my dock is lagged so i shut down it and try again
and now it say

warning: config file /etc/pacman.conf, line 38: directive 'ParallelDownloads' in section 'options' not recognized.
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to update chaotic-aur (unable to lock database)
error: failed to synchronize all databases

Better not to touch anything during such massive updates.
Try first to remove the lock with:
sudo rm /var/lib/pacman/db.lck
Then clean the cache:
sudo rm /var/cache/pacman/*
To avoid troubles with partial downloads.
Finally relaunch the snippet above.


Should I yes to all replace

1 Like

Yes please do.

1 Like

I think massive is an understatement
This is a pre pacman 6 system. Whoa!


Garuda Jurassic Edition?
End Of OT


I wonder how far you could go back and update a system with that script.
I'll do some more improvements to the update script today to try and support even more legacy systems just for fun :stuck_out_tongue:

Also this is why I made this Currently rolling out: Introducing Garuda System Maintenance - #18 by TNE


I've always been a great fan of all your scripts, snippets and various tricks, but if you improve it even more you deserve a nomination for best script/tool/hammer/whatnot of 2022.
So much for any distowatch or similar reviews... :wink:
Edit: ops, changed a wovel that makes the difference :yawning_face:


finally updates done successfully
and i also restart it
but still it went off automatically at 20 % without any notification or warning

Kernel: 5.16.5-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=eb25f8ea-11dc-4da6-a55d-277ba4b0fab7 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Laptop System: HP product: HP Laptop 15q-bu0xx
v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: HP model: 8328 v: 23.37 serial: <superuser required>
UEFI-[Legacy]: Insyde v: F.42 date: 08/06/2018
ID-1: BAT1 charge: 8.4 Wh (29.3%) condition: 28.7/41.6 Wh (68.9%)
volts: 15.4 min: 14.6 model: Hewlett-Packard PABAS0241231 type: Li-ion
serial: <filter> status: Charging
Info: model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake
family: 6 model-id: 0x4E (78) stepping: 3 microcode: 0xEA
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 1991 high: 2000 min/max: 400/2000 scaling:
driver: intel_pstate governor: performance cores: 1: 1965 2: 2000 3: 2000
4: 2000 bogomips: 15999
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard
driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
Device-2: Sunplus Innovation HP TrueVision HD Camera type: USB
driver: uvcvideo bus-ID: 1-5:3 chip-ID: 1bcf:2c9b class-ID: 0e02
Display: x11 server: X.Org compositor: kwin_x11 driver:
loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :0
screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP1 res: 1366x768 hz: 60 dpi: 102 size: 340x190mm (13.4x7.5")
diag: 389mm (15.3")
Message: Unable to show advanced data. Required tool glxinfo missing.
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
chip-ID: 8086:9d70 class-ID: 0403
Sound Server-1: ALSA v: k5.16.5-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.45 running: yes
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus-ID: 01:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter
vendor: Hewlett-Packard driver: rtw_8723de v: N/A modules: rtw88_8723de
port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:d723 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb
v: 0.8 bus-ID: 1-4:2 chip-ID: 0bda:b009 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: no
address: <filter>
Local Storage: total: 931.51 GiB used: 15.06 GiB (1.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10JPVX-60JC3T1 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 1A02 scheme: MBR
ID-1: / raw-size: 41.01 GiB size: 41.01 GiB (100.00%)
used: 15.06 GiB (36.7%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
ID-2: /home raw-size: 41.01 GiB size: 41.01 GiB (100.00%)
used: 15.06 GiB (36.7%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
ID-3: /var/log raw-size: 41.01 GiB size: 41.01 GiB (100.00%)
used: 15.06 GiB (36.7%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
ID-4: /var/tmp raw-size: 41.01 GiB size: 41.01 GiB (100.00%)
used: 15.06 GiB (36.7%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.68 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
System Temperatures: cpu: 29.8 C pch: 45.5 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Processes: 208 Uptime: 5m wakeups: 1 Memory: 7.68 GiB
used: 2.15 GiB (28.0%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1251 lib: 302 Shell: fish
v: 3.3.1 running-in: konsole inxi: 3.3.12
Garuda (2.5.4-2):
System install date:     2022-01-27
Last full system update: 2022-02-06
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       <superuser required>
Snapshots:               Timeshift (maybe)
Failed units:            systemd-vconsole-setup.service