Hello dear Linux community, could you help me solve a problem I have with the battery that discharges very quickly, I already tried with auto-cpuconfig and with tlp and they did not help me with the problem, it discharges faster than when I had window. thanks
Any info about your System?
inxi -Fanzy
inxi -fanzy
CPU:
Info: model: AMD E1-6010 APU with AMD Radeon R2 Graphics bits: 64 type: MCP
arch: Puma level: v2 built: 2014-15 process: GF 28nm family: 0x16 (22)
model-id: 0x30 (48) stepping: 1 microcode: 0x7030104
Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 1024 KiB desc: 1x1024 KiB
Speed (MHz): avg: 1000 min/max: 1000/1350 boost: disabled scaling:
driver: acpi-cpufreq governor: schedutil cores: 1: 1000 2: 1000
bogomips: 5392
Flags: 3dnowprefetch abm acc_power aes aperfmperf apic arat avx bmi1 bpext
clflush cmov cmp_legacy constant_tsc cpuid cr8_legacy cx16 cx8 de
decodeassists extapic extd_apicid f16c flushbyasid fpu fxsr fxsr_opt ht
hw_pstate ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe
msr mtrr nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat
pausefilter pclmulqdq pdpe1gb perfctr_llc perfctr_nb pfthreshold pge pni
popcnt pse pse36 ptsc rdtscp rep_good sep skinit ssbd sse sse2 sse4_1
sse4_2 sse4a ssse3 svm svm_lock syscall topoext tsc tsc_scale vme vmmcall
wdt xsave xsaveopt
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT disabled
Type: spec_rstack_overflow status: Not affected
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: Retpolines, STIBP: disabled, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Network:
Device-1: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:0041 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
inxi -fanzy
and inxi -Fanzy
are not the same…
But after checking out one of your other post, there is:
Battery:
ID-1: BAT1 charge: 13.6 Wh (62.4%) condition: 21.8/28.5 Wh (76.4%)
power: 11.3 W volts: 15.3 min: 14.4 model: LENOVO PABAS0241231 type: Li-ion
serial: <filter> status: charging
The condition of your Battery say’s you are at 76% of 28.5 Wh
and that is in my mind already, not really a lot.
More battery info is here:
sudo tlp-stat --battery
What I would do is to check what’s running in the background.
Syncing programs, maybe set to sync once an hour are more, then every minute.
And stop
does program you’re not needed to run, if nothing breaks after stopping some programs for a Day are two, perhaps also disable them at first only does program you did manually install are read up what they are.
Note: have Restore point, are testing it first in a VM.
To do so, you can check what’s running the command below are something like stacer
,htop
:
systemctl list-unit-files|less |grep enable
Sorry, I did not know
[aaa@aaa-80e1 ~]$ inxi -Fanzy
System:
Kernel: 6.6.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
root=UUID=4b699c6a-9ffc-464d-9356-038b332f2bea rw quiet apparmor=1
security=apparmor resume=UUID=51688546-82cc-45a4-b99f-4c651475d1d5
udev.log_priority=3
Desktop: i3 v: 4.23 info: i3bar vt: 7 dm: LightDM v: 1.32.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 80E1 v: Lenovo G40-45
serial: <superuser required> Chassis: type: 10 v: Lenovo G40-45
serial: <superuser required>
Mobo: LENOVO model: Lancer 4B2 v: SDK0H15299 WIN
serial: <superuser required> UEFI-[Legacy]: LENOVO v: A2CN27WW(V1.09)
date: 12/12/2014
Battery:
ID-1: BAT1 charge: 18.4 Wh (83.6%) condition: 22.0/28.5 Wh (77.1%)
power: 8.5 W volts: 15.3 min: 14.4 model: LENOVO PABAS0241231 type: Li-ion
serial: <filter> status: discharging
CPU:
Info: model: AMD E1-6010 APU with AMD Radeon R2 Graphics bits: 64 type: MCP
arch: Puma level: v2 built: 2014-15 process: GF 28nm family: 0x16 (22)
model-id: 0x30 (48) stepping: 1 microcode: 0x7030104
Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 1024 KiB desc: 1x1024 KiB
Speed (MHz): avg: 998 min/max: 1000/1350 boost: disabled scaling:
driver: acpi-cpufreq governor: schedutil cores: 1: 998 2: 998 bogomips: 5392
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT disabled
Type: spec_rstack_overflow status: Not affected
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: Retpolines, STIBP: disabled, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Mullins [Radeon R2 Graphics] vendor: Lenovo driver: radeon
v: kernel alternate: amdgpu arch: GCN-2 code: Sea Islands
process: GF/TSMC 16-28nm built: 2013-17 ports: active: eDP-1
empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:9853 class-ID: 0300
Device-2: Bison Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 2-1.2:3 chip-ID: 5986:0652
class-ID: 0e02 serial: <filter>
Display: x11 server: X.org v: 1.21.1.10 compositor: Picom v: git-b700a
driver: X: loaded: radeon unloaded: modesetting alternate: fbdev,vesa
dri: radeonsi gpu: radeon display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-size: <missing: xdpyinfo>
Monitor-1: eDP-1 mapped: eDP model: LG Display 0x0455 built: 2014
res: 1366x768 hz: 60 dpi: 112 gamma: 1.2 size: 310x174mm (12.2x6.85")
diag: 355mm (14") ratio: 16:9 modes: max: 1366x768 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.5 vendor: amd mesa v: 23.3.3-manjaro1.1 glx-v: 1.4
direct-render: yes renderer: KABINI (radeonsi LLVM 16.0.6 DRM 2.50
6.6.10-1-MANJARO) device-ID: 1002:9853 memory: 250 MiB unified: no
Audio:
Device-1: AMD Kabini HDMI/DP Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:01.1 chip-ID: 1002:9840 class-ID: 0403
Device-2: AMD FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
API: ALSA v: k6.6.10-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl,pavucontrol
Network:
Device-1: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:0041 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 2-1.3:4
chip-ID: 0cf3:e300 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 9 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 4.1 lmp-v: 7
status: discoverable: no pairing: no
Drives:
Local Storage: total: 465.76 GiB used: 18.69 GiB (4.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD5000LPCX-24C6HT0 size: 465.76 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 1A02 scheme: GPT
Partition:
ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 10.69 GiB (10.9%)
fs: ext4 dev: /dev/sda3 maj-min: 8:3
ID-2: /home raw-size: 357.75 GiB size: 351.06 GiB (98.13%)
used: 5.76 GiB (1.6%) fs: ext4 dev: /dev/sda4 maj-min: 8:4
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: file size: 512 MiB used: 512 MiB (100.0%) priority: -2
file: /swapfile
ID-2: swap-2 type: partition size: 8 GiB used: 2.24 GiB (28.0%)
priority: -3 dev: /dev/sda1 maj-min: 8:1
Sensors:
System Temperatures: cpu: 51.4 C mobo: N/A gpu: radeon temp: 50.0 C
Fan Speeds (rpm): N/A
Info:
Processes: 185 Uptime: 1d 6h 17m wakeups: 5 Memory: total: 3 GiB note: est.
available: 2.63 GiB used: 2.05 GiB (77.9%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 1077 libs: 304 tools: pamac,yay Shell: Bash
v: 5.2.21 running-in: urxvtd inxi: 3.3.31
[aaa@aaa-80e1 ~]$ sudo tlp-stat --battery
[sudo] contraseña para aaa:
sudo: tlp-stat: command not found
[aaa@aaa-80e1 ~]$ systemctl list-unit-files|less |grep enable
cups.path enabled disabled
add-autologin-group.service enabled disabled
apparmor.service enabled disabled
avahi-daemon.service enabled disabled
bluetooth.service enabled disabled
cronie.service enabled disabled
cups.service enabled disabled
getty@.service enabled enabled
haveged.service enabled disabled
lightdm.service enabled disabled
ModemManager.service enabled disabled
NetworkManager-dispatcher.service enabled disabled
NetworkManager-wait-online.service enabled disabled
NetworkManager.service enabled disabled
snapd.apparmor.service enabled disabled
snapd.service enabled disabled
systemd-boot-update.service disabled enabled
systemd-fsck-root.service enabled-runtime disabled
systemd-homed.service disabled enabled
systemd-network-generator.service disabled enabled
systemd-networkd-wait-online.service disabled enabled
systemd-networkd.service disabled enabled
systemd-pstore.service disabled enabled
systemd-remount-fs.service enabled-runtime disabled
systemd-resolved.service disabled enabled
systemd-timesyncd.service disabled enabled
ufw.service enabled disabled
avahi-daemon.socket enabled disabled
cups.socket enabled disabled
systemd-journald-audit.socket disabled enabled
systemd-userdbd.socket disabled enabled
machines.target disabled enabled
reboot.target disabled enabled
remote-cryptsetup.target disabled enabled
remote-fs.target enabled enabled
pamac-cleancache.timer enabled disabled
pamac-mirrorlist.timer
Well you have a bunch of stuff that is not required;
cronie is only needed if you use it, modemmanager is for mobile broadband (4G, etc), and SNAP is SNAP an alternative packaging format known to take inordinate resources.
(also bluetooth and ufw, depending)
But more to the point tlp
does not appear installed or running.
So does that mean you removed tlp
after trying it?
Because its not there now.
In case you need it this is how you would add and enable tlp;
sudo pacman -Syu tlp
systemctl enable tlp --now
Also auto-cpuconfig
is not a package available in the repos or the AUR, so I’m not sure what you did in relation to that.
Now install tlp, how do I deactivate what you say is not necessary?
[aaa@aaa-80e1 ~]$ sudo tlp-stat --battery
--- TLP 1.6.1 --------------------------------------------
+++ Battery Care
Plugin: lenovo
Supported features: charge threshold
Driver usage:
* vendor (ideapad_laptop) = active (charge threshold)
Parameter value range:
* STOP_CHARGE_THRESH_BAT0: 0(off), 1(on) -- battery conservation mode
/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode = 0 (100%)
+++ Battery Status: BAT1
/sys/class/power_supply/BAT1/manufacturer = LENOVO
/sys/class/power_supply/BAT1/model_name = PABAS0241231
/sys/class/power_supply/BAT1/cycle_count = 0 (or not supported)
/sys/class/power_supply/BAT1/energy_full_design = 28510 [mWh]
/sys/class/power_supply/BAT1/energy_full = 21940 [mWh]
/sys/class/power_supply/BAT1/energy_now = 18950 [mWh]
/sys/class/power_supply/BAT1/power_now = 10449 [mW]
/sys/class/power_supply/BAT1/status = Discharging
Charge = 86.4 [%]
Capacity = 77.0 [%]
how do I deactivate what you say is not necessary?
If you dont need/use/want snap then you should remove it
sudo pacman -Rns snapd libpamac-snap-plugin
For cron(ie) you can check up on it
systemctl status cronie
crontab -l
ls /etc/cron.*/
If you dont need it then remove it
sudo pacman -Rns cronie
For anything not to be removed but to disable you can use systemctl.
ModemManager
in this example:
systemctl disable ModemManager.service --now
and what is each one for? to know if I need them or not
How do I know if the system uses them?
`[aaa@aaa-80e1 ~]$ systemctl status cronie
● cronie.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled; preset: disabled)
Active: active (running) since Sat 2024-01-20 03:53:38 -05; 1 day 19h ago
Main PID: 524 (crond)
Tasks: 1 (limit: 3207)
Memory: 1.3M (peak: 3.8M swap: 612.0K swap peak: 800.0K zswap: 4.0K)
CPU: 1.504s
CGroup: /system.slice/cronie.service
└─524 /usr/sbin/crond -n
ene 21 07:01:01 aaa-80e1 CROND[15698]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 08:01:01 aaa-80e1 CROND[15923]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 09:01:01 aaa-80e1 CROND[16139]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 10:01:01 aaa-80e1 CROND[16491]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 10:01:02 aaa-80e1 CROND[16490]: (root) CMDEND (run-parts /etc/cron.hourly)
ene 21 11:01:01 aaa-80e1 CROND[18721]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 12:01:01 aaa-80e1 CROND[19659]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 13:01:01 aaa-80e1 CROND[20109]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 14:01:01 aaa-80e1 CROND[20337]: (root) CMD (run-parts /etc/cron.hourly)
ene 21 23:01:01 aaa-80e1 CROND[21460]: (root) CMD (run-parts /etc/cron.hourly)
[aaa@aaa-80e1 ~]$ systemctl status snapd
○ snapd.service - Snap Daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.service; enabled; preset: disabled)
Active: inactive (dead) since Sat 2024-01-20 03:54:13 -05; 1 day 20h ago
Duration: 38.161s
TriggeredBy: ● snapd.socket
Main PID: 414 (code=exited, status=42)
CPU: 1.647s
ene 20 03:53:34 aaa-80e1 snapd[414]: daemon.go:247: started snapd/2.61.1 (series 16; classic; devmode) manjaro/ (amd64) linux/6.6.10-1-MANJARO.
ene 20 03:53:34 aaa-80e1 snapd[414]: daemon.go:340: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
ene 20 03:53:34 aaa-80e1 snapd[414]: backends.go:58: AppArmor status: apparmor is enabled but some kernel features are missing: dbus, network
ene 20 03:53:35 aaa-80e1 systemd[1]: Started Snap Daemon.
ene 20 03:54:10 aaa-80e1 snapd[414]: daemon.go:519: gracefully waiting for running hooks
ene 20 03:54:10 aaa-80e1 snapd[414]: daemon.go:521: done waiting for running hooks
ene 20 03:54:13 aaa-80e1 snapd[414]: overlord.go:515: Released state lock file
ene 20 03:54:13 aaa-80e1 snapd[414]: daemon stop requested to wait for socket activation
ene 20 03:54:13 aaa-80e1 systemd[1]: snapd.service: Deactivated successfully.
ene 20 03:54:13 aaa-80e1 systemd[1]: snapd.service: Consumed 1.647s CPU time.
`
cronie is only needed if you use it, modemmanager is for mobile broadband (4G, etc), and SNAP is SNAP an alternative packaging format known to take inordinate resources.
cronie
is a frontend for cron
, a slightly antiquated system for automatically running things.
Most use systemd
for that … and systemd
is a requirement, cron
is not. Hell, as shown above, cronie
itself is using systemd to automatically run… its redundant unless you are actively using it for some specific reason.
snap
is a containerized packaging system. Like for running an application thats 20gbs larger than normal because its supposed to contain all its own libraries, but isnt installed in a normal way as users expect, and does not integrate with the native filesystem. I cant think of a single good reason to use snaps.
If you dont use them for anything then you dont need them.
I don’t think it uses any of that, it must come by default in Manjaro, maybe remove all that to see if the battery lasts longer.
Look how I did it, does it look good with the snapd one? that an error appeared in the first one.
I will test the performance and by the way, having an outdated bios could affect it?
[aaa@aaa-80e1 ~]$ systemctl disable ModemManager.service --now
Removed "/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service".
Removed "/etc/systemd/system/multi-user.target.wants/ModemManager.service".
[aaa@aaa-80e1 ~]$ sudo pacman -Rns snapd libpamac-snap-plugin
[sudo] contraseña para aaa:
error: no se ha encontrado el paquete: libpamac-snap-plugin
[aaa@aaa-80e1 ~]$ sudo pacman -Rns cronie
comprobando dependencias...
Paquetes (1) cronie-1.7.0-4
Tamaño total quitado: 0,22 MiB
:: ¿Desea quitar estos paquetes? [S/n] s
:: Procesando los cambios de los paquetes...
(1/1) quitando cronie [#####################################################] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
[aaa@aaa-80e1 ~]$ sudo pacman -Rns snapd
comprobando dependencias...
:: pacui requiere opcionalmente snapd: Needed for for Snap update support
Paquetes (2) squashfs-tools-4.6.1-1 snapd-2.61.1-1
Tamaño total quitado: 65,15 MiB
:: ¿Desea quitar estos paquetes? [S/n] s
:: Procesando los cambios de los paquetes...
rmdir: fallo al borrar '/etc/systemd/system/snapd.mounts.target.wants': No existe el fichero o el directorio
Stopping unit snapd.autoimport.service
Failed to stop snapd.autoimport.service: Unit snapd.autoimport.service not loaded.
Waiting until unit snapd.autoimport.service is stopped [attempt 1]
snapd.autoimport.service is stopped.
Stopping unit snapd.seeded.service
Waiting until unit snapd.seeded.service is stopped [attempt 1]
snapd.seeded.service is stopped.
Stopping unit snapd.apparmor.service
Waiting until unit snapd.apparmor.service is stopped [attempt 1]
snapd.apparmor.service is stopped.
Stopping unit snapd.mounts.target
Waiting until unit snapd.mounts.target is stopped [attempt 1]
snapd.mounts.target is stopped.
Stopping unit snapd.mounts-pre.target
Waiting until unit snapd.mounts-pre.target is stopped [attempt 1]
snapd.mounts-pre.target is stopped.
Discarding preserved snap namespaces
Removing downloaded snaps
Removing features exported from snapd to helper tools
Final directory cleanup
Removing leftover snap shared state data
Removing snapd catalog cache
Removing extra snap-confine apparmor rules
(1/2) quitando snapd [#####################################################] 100%
(2/2) quitando squashfs-tools [#####################################################] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/5) Reloading system manager configuration...
(2/5) Reloading user manager configuration...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Reloading system bus configuration...
(5/5) Updating the desktop file MIME type cache...
[aaa@aaa-80e1 ~]$
[aaa@aaa-80e1 ~]$ sudo pacman -Rns snapd libpamac-snap-plugin [sudo] contraseña para aaa: error: no se ha encontrado el paquete: libpamac-snap-plugin
Just means you dont have the pamac-snap plugin.
I assumed you would if you had snap … but apparently not.
Meaning snap was running, but you werent being offered snap packages in pamac anyways.
It looks like you redid the command omitting the plugin package.
These were just some basic steps to cut down on resource use.
Other steps might include checking powertop, ex;
sudo pacman -Syu powertop
sudo powertop --html
(then view the resulting powertop.html
file)
There are a lot of other approaches detailed at the ArchWiki:
https://wiki.archlinux.org/title/Power_management#Power_saving
PS.
Do note that your battery health is deteriorating.
Capacity = 77.0 [%]
Batteries tend to die at an exponential rate; going from 75% health to 50% health will happen a lot quicker than 100% to 75% did. So keep that in mind. You may not be trying to buy a new battery just yet … but it may be something to think about soon.
I understand that the percentage of battery life is already low but I noticed the change in performance when I went from Windows to Linux, specifically Manjaro i3wm, I did it because this PC is already very old and Windows is heavy, plus I had always wanted to learn from linux and I wanted to move to arch linux to improve performance much more (but I’m not complaining, I liked it a lot) and since arch is for advanced users and I’m just learning, I opted for this distribution and I liked too much work on the computer Better than I would have wanted it in Windows, I am a programmer and it works too well.
By the way, you helped me the other time with the kernel, thank you very much for all your collaboration, it is something that I really liked, there is a community for exactly this
[aaa@aaa-80e1 ~]$ sudo pacman -Syu powertop
[sudo] contraseña para aaa:
:: Sincronizando las bases de datos de los paquetes...
core está actualizado
extra está actualizado
multilib está actualizado
advertencia: powertop-2.15-1 está actualizado -- reinstalándolo
:: Iniciando actualización completa del sistema...
resolviendo dependencias...
buscando conflictos entre paquetes...
Paquetes (1) powertop-2.15-1
Tamaño total de la descarga: 0,19 MiB
Tamaño total de la instalación: 0,51 MiB
Tamaño neto tras actualizar: 0,00 MiB
:: ¿Continuar con la instalación? [S/n] s
:: Obteniendo los paquetes...
powertop-2.15-1-x86_64 192,6 KiB 196 KiB/s 00:01 [#####################################################] 100%
(1/1) comprobando las claves del depósito [#####################################################] 100%
(1/1) verificando la integridad de los paquetes [#####################################################] 100%
(1/1) cargando los archivos de los paquetes [#####################################################] 100%
(1/1) comprobando conflictos entre archivos [#####################################################] 100%
(1/1) comprobando el espacio disponible en el disco [#####################################################] 100%
:: Procesando los cambios de los paquetes...
(1/1) reinstalando powertop [#####################################################] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/1) Arming ConditionNeedsUpdate...
[aaa@aaa-80e1 ~]$ sudo powertop --html
modprobe cpufreq_stats failed
Cannot load from file /var/cache/powertop/saved_results.powertop
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
RAPL device for cpu 0
RAPL device for cpu 0
Devfreq not enabled
glob returned GLOB_ABORTED
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
Preparing to take measurements
Taking 1 measurement(s) for a duration of 20 second(s) each.
PowerTOP outputting using base filename powertop.html
It is interesting, all the processes are shown, although I understand little.
(then view the resulting
powertop.html
file)
By the way, you helped me the other time with the kernel, thank you very much for all your collaboration, it is something that I really liked, there is a community for exactly this
Hullo again
I opted for this distribution and I liked too much
Great.
Manjaro is derived from Arch linux, and while we have our own repositories and some of our own tools and packages, the Arch wiki is still generally applicable.
(main differences include our branches and mhwd
to manage drivers and kernels)
So that link above will still be helpful to outline all sorts of stuff - tools like tlp and powertop included.
It is interesting, all the processes are shown, although I understand little.
It may give you some ideas of what is drawing extra power, as well as suggestions to ‘tune’ for better power saving.
You can also just have powertop autotune everything it thinks should be done, though I dont usually suggest doing so.
Thank you very much, you helped me a lot and the battery lasts longer, almost two hours, I will continue investigating to try to optimize the battery life.
I will bother you later to update the BIOS, thank you very much for everything.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.