Shutdown behavior

my battery dries 5 percent each 8 hour on shutdown, so i was looking for the cause. i think it might have something to do with this shutdown behavior which looks like suspending the system instead! because when i shutdown my laptop while some apps are open, and then turn it on again, i will end up the same place i left with the same app’s being open!
how is this behavior work? does it keep the system memory on (which i don’t think is the case), or doe’s it use the swap file? and does it effect the battery consumption? (anyway i want to turn it off because it increase the write on the ssd.

anyway, how can i diagnostic my battery consumption better and find the cause?

  Host: shayan Kernel: 5.19.6-zen1-1-zen arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.25.4 Distro: EndeavourOS
  Type: Laptop System: LENOVO product: 20VE v: ThinkBook 15 G2 ITL
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <superuser required>
    UEFI: LENOVO v: F8CN46WW(V2.09) date: 12/24/2021
  ID-1: BAT1 charge: 35.3 Wh (76.9%) condition: 45.9/45.0 Wh (102.1%)
  Info: dual core model: 11th Gen Intel Core i3-1115G4 bits: 64 type: MT MCP
    cache: L2: 2.5 MiB
  Speed (MHz): avg: 2558 min/max: 400/4100 cores: 1: 1234 2: 3000 3: 3000
    4: 3000
  Device-1: Intel driver: i915 v: kernel
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: intel
    unloaded: modesetting gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT2) v: 4.6 Mesa 22.1.7
  Device-1: Intel Tiger Lake-LP Smart Sound Audio
    driver: sof-audio-pci-intel-tgl
  Sound Server-1: ALSA v: k5.19.6-zen1-1-zen running: yes
  Sound Server-2: PipeWire v: 0.3.57 running: yes
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi
  IF: wlan0 state: up mac: 8c:b8:7e:b4:20:f3
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp43s0 state: down mac: e4:a8:df:b5:4c:f6
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: see --recommends
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
  Local Storage: total: 704.24 GiB used: 5.85 GiB (0.8%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM256GD3HX015N
    size: 238.47 GiB
  ID-2: /dev/sda vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
  ID-1: / size: 119 GiB used: 5.83 GiB (4.9%) fs: btrfs dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 300.4 MiB used: 16.6 MiB (5.5%) fs: vfat
    dev: /dev/nvme0n1p2
  ID-3: /home size: 119 GiB used: 5.83 GiB (4.9%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-4: /var/log size: 119 GiB used: 5.83 GiB (4.9%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p1
  Message: No sensor data found. Is lm-sensors configured?
  Processes: 179 Uptime: 17m Memory: 19.33 GiB used: 1.67 GiB (8.7%)
  Shell: Bash inxi: 3.3.20

Can you give the output of this command from shell, pls:

sudo ls /etc/polkit-1/rules.d/

And also:

cat pkaction | grep login1

Also, look here:

And in the Arch-Wiki, of course!

1 Like
[shayan@shayan ~]$ sudo ls /etc/polkit-1/rules.d/
[shayan@shayan ~]$ cat pkaction | grep login1
cat: pkaction: No such file or directory
[shayan@shayan ~]$