Questions tagged [power-management]

Systems to manage power consumption, such as system suspension and hibernation, CPU speed adjustment, disk spindown, battery usage monitoring, …

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

How can I find out when the computer monitor's inactivity timeout is triggered and what process triggers it?

I want to use slock to lock the screen when the screen's inactivity timeout switches the monitor off or into standby and want to know what process triggers it, or how it is notified to the system. Is ...
  • 7,021
0 votes
0 answers
9 views

Monitors not going into powersave

I have a recent install of F37, which was putting my monitors into power save mode after locking the screen. It recently stopped doing that, but I don’t know when it started. Running KDE I’ve ...
  • 1
1 vote
0 answers
22 views

how to choose which battery to discharge from in linux / manjaro?

so im facing an issue with my t440s , it has 2 batteries and it discharges from the second battery till 0 percent and that damages my battery . im on linux/manjaro nad i want to switch to the second ...
  • 11
0 votes
0 answers
62 views

Thinkpad T480 Linux Battery performance

I recently bought a used Thinkpad T480. It has two batteries. New version of this laptop are supposed to have an 17-hour battery life. I don't expect Linux to necessarily match that, but even still I'...
  • 101
0 votes
0 answers
36 views

Stuck at shutdown after an ssd upgrade

I have replaced my sata ssd with an nvme one and after I installed the current stable debian 11, it turns out that my laptop doesn't shutdown. What happens is I can see the systemd output saying that ...
0 votes
0 answers
10 views

Let agetty (or other) switch off the laptop screen after a short while on non-UI linux

Using an older laptop as a small server with no graphical UI/login, it has an agetty running on the system console, i.e. the laptop screen. Since I login almost always via network, there is no point ...
  • 806
0 votes
0 answers
25 views

Accubattery for linux

I use Accubattery [1] app on my Android, to (try) improve phone's battery health over time; I'd like to have a software like that on Linux; Do you know something similar? Basically it a timer that ...
  • 2,967
1 vote
0 answers
78 views

Disable Wi-Fi power management on AC power only?

Fedora 36, KDE Plasma. So, I find that my 5 GHz Wi-Fi connection is somewhat faster when I disable Wi-Fi power management with "sudo iw wlp0s20f3 set power_save off". I also see a few ways ...
0 votes
1 answer
78 views

What is this interface and why this drains my battery?

$ ip address 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope ...
1 vote
1 answer
87 views

What are MODERN uses for halt (non-power off) vs shutdown (power-off)?

I have read some fascinating threads about the history and implementation of the halt and shutdown commands (and equivalents, eg. runlevels and systemctl targets) across different versions of Unix(-...
3 votes
1 answer
685 views

How to permanently disable EEE (Energy Efficient Ethernet) on Ethernet card?

I am looking for a kernel parameter that I could use in the GRUB config to disable EEE (Energy Efficient Ethernet, wikipedia) permanently on my LAN (wired Ethernet) card of my newish laptop: Basic ...
27 votes
1 answer
3k views

How does the kernel know it's resuming from hibernation, not booting?

When a Linux system hibernates and resumes from hibernation, I think that the kernel needs to know that it's resuming, not booting. Otherwise, the kernel will start the usual boot process, and will ...
1 vote
2 answers
63 views

cache /etc/hosts and /etc/resolve.conf forever

I'm looking for a way to cache the hosts file, the resolv.conf file and new DNS entries and the closest thing that doesn't quite work is nscd. Nscd will happily cache DNS requests that are present in ...
  • 11
0 votes
1 answer
119 views

It is possible to recalibrate power_supply_charge_full in /sys/class/power_supply?

I explain myself, recently I have found strange problems related to the battery (BAT0) on my laptop, which seems not to be working as it should. More information here and here. $ cat /sys/class/...
3 votes
2 answers
197 views

Laptop hangs when I don't touch it for few seconds

I noticed that when my laptop is on battery mode, when I don't interact with it (like moving my mouse - both external and trackpad, or pressing any key) for couple of seconds, it freezes. Then after I ...
  • 155
1 vote
1 answer
416 views

Understanding power_supply files

It is a very simple question, but I think that in its simplicity it has aqua output. the case is I am interested in better understanding the files that are hosted in /sys/class/power_supply, and that ...
1 vote
0 answers
30 views

North Bridge stuck in P1 state

I have AMD E-350 processor stuck in NBP1 (north bridge P1) state in Linux (Debian 11) and doesn't transit into NBP0 state under CPU/GPU load. The problem doesn't take place in Windows. Let's follow ...
  • 714
4 votes
0 answers
64 views

Strange battery behavior: how to diagnose power supply monitor?

I have a problem that I can not determine with the battery of my computer. In case it was of use, I use Arch Linux with dwm, although I don't think it's relevant to the case. I get the battery with ...
0 votes
0 answers
86 views

Linux/powertop: Differences between SATA ALPM, Runtime PM for ATA port, Runtime PM for disk

SATA ALPM has always been a Tunable in powertop. Recent versions (2.14-1+b2 on Debian bookworm, Linux 6.0) have introduced two additional Tunables related to drives. There are three types now: SATA ...
  • 342
0 votes
0 answers
21 views

What can prevent or inhibit my system from acting on magic sysreq keys when enabled?

I've been getting weird behavior from my freshly-installed ubuntu 22.04 system whenever I play video games. Often, especially when my system has been up for more than a few minutes, my system appears ...
3 votes
1 answer
398 views

Persistently disable Intel Turbo Boost

Through the magic of piezoelectric phenomena, I experience "coil whine" when moving the mouse. Turns out said coil is energized by the CPU, and that the Intel driver enabling Turbo Boost ...
  • 317
3 votes
1 answer
133 views

Why ping results varied with the CPU load

I am trying to ping between two PCs running Ubuntu 20.04 connected via a Layer-2 switch. My goal is to get "nearly" stable ping latency. Similar to other people, I figured out that ping ...
  • 31
0 votes
0 answers
90 views

rtcwake does not wake the computer back when lid is closed

Recently I tried to auto turn on / off my home server with rtcwake. As a server I use an old laptop so I additionally changed the settings in /etc/systemd/logind.conf so that it could have the lid ...
  • 1
0 votes
0 answers
52 views

How do I use the custom PowerPlay power profile in amdgpu for RX 6600?

This questions is nearly identical to How do I use the "custom" PowerPlay power profile in amdgpu? but for the RX 6600 (NAVI21) chip. If I run cat /sys/class/drm/card0/device/...
0 votes
1 answer
623 views

Cannot write into /sys/power/mem_sleep in Fedora 36

Since I failed to find a way to tell systemctl to go to sleep in a one-time specified mode (see previous question), I decided to write some script to change whether the system goes to sleep in shallow ...
1 vote
0 answers
28 views

DPMS & PowerSave on laptop

I have an HP PowerBook 440 G4 with Debian Bullseye & BSWPM installed. My locker is lightdm with slick-greeter without a screensaver. My xset q says: DPMS (Energy Star): Standby: 600 Suspend: ...
  • 113
1 vote
0 answers
54 views

On-the-fly switch between deep and idle sleep

I typically put my laptop to sleep regularly, with two distinct cases: short periods (a few minutes) while I read/discuss something long periods (an hour or more) during lunch and commutes I would ...
0 votes
0 answers
86 views

Why doesn't Gnome Disk's Drive Setting work?

Gnome comes with "Disks". If you select a disk, click the three-dot button, and select "Drive Settings", it shows Standby or APM settings. But these does not seem to work. Judging ...
0 votes
0 answers
31 views

RAPL reports dram as a subzone of package-0

On my Intel Xeon W-2140B I get a confusing RAPL topology. The dram zone is reported as a sub-zone of package-0 which does not make sense to me. A Xeon does not have embedded ram. $ rapl-info Zone 0 ...
  • 797
0 votes
0 answers
347 views

How to disable KDE power devil?

For some reason, KDE's power manager doesn't work for me (laptop doesn't go to sleep properly when the lid is closed). I would like to use ACPI events to handle the power management However, when I ...
0 votes
0 answers
119 views

Xubuntu not resuming from sleep mode

I have recently made the switch from Windows 7 to Xubuntu. Things have been going relatively well. Though my main problem with the install of the new OS is how it behaves when my laptop is left idle ...
0 votes
0 answers
17 views

Linux task to power off if temperature greater than

Using RHEL/CENTOS 7 or later, there are various tools (from EPEL and such) to get motherboard temperatures... two of I have installed now are lm_sensors xsensors My server room is prone to ...
  • 5,215
0 votes
0 answers
65 views

How to detect VLC inhibit on DBUS

I am trying to detect whether the screensaver is inhibited, using xfce on Arch. This command works when chrome (chromium) Inhibits: dbus-send --print-reply=literal --type=method_call --dest=org....
  • 155
1 vote
1 answer
122 views

system sleep takes a long time

I just upgraded to Debian GNU/Linux 11 (bullseye), from Debian 10. After the upgrade it is taking a long time to put the system to sleep. E.g. the command systemctl suspend, locks the session quickly ...
0 votes
0 answers
103 views

Ubuntu shuts down instead of turn off the screen and lock the screen

Ubuntu 22.04 (I have also Windows on my computer) AMD5950X, rtx 3080TI I have a problem with Ubuntu. Namely, the computer seems to turn off completely, although I can see that the graphics card/...
  • 165
0 votes
0 answers
197 views

Manjaro linux(Arch) "Power throttling", CPU won't use all available power, weird CPU usage readings and stutter in all games

My laptop acer swift 3 314-43, with 5500u and 16gb RAM, Manjaro(full specs below) have performance issues in games and some weird readings about CPU usage. All games are stuttering, even with 80fps it ...
1 vote
1 answer
104 views

Plasma power indicator/monitor doesn't read recharge until restart

Update: this is not limited to Fedora; see note at the end. When the battery is down and I have to charge the indicator doesn't show the charging progress even when the full 100% is confirmed by the ...
  • 1,224
0 votes
0 answers
17 views

Is it possible to run a hybrid pc on drastically low power consumption while still displaying a slideshow?

I've bought a Surface Pro 3 for my elders, and installed ZorinOS on it -- a great distro for hybrid pcs btw!! One stuff we'd like it to do is to act as a digital photo-frame by running a slideshow of ...
  • 123
0 votes
1 answer
2k views

disable S0 standby and enable S3 on ubuntu?

This article explains how to disable S0 and replace it by S3 on windows: https://www.notebookcheck.net/Useful-Life-Hack-How-to-Disable-Modern-Standby-Connected-Standby.453125.0.html What are the ...
  • 133
0 votes
0 answers
286 views

rtcwake: write error and PM: Swap header not found!

When I run $sudo rtcwake -m disk -s 60, it shows: rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "disk" using /dev/rtc0 at Fri Jul 1 10:09:45 2022 rtcwake: write error I created a ...
1 vote
1 answer
4k views

Linux cli: disable sleep when laptop lid closed

I have no systemd on my debian based distro (antix) and I also have no desktop environment. How can i make my laptop to only blank (or disable) screen when lid is closed, instead of suspending as well ...
0 votes
0 answers
77 views

Gaming laptop with NVIDIA graphics fails to boot under any circumstances without a charger

Awhile ago I installed Arch Linux on my laptop, and while it's been great, there has been one problem: the system will not boot without being connected to an external power supply, unless I use heavy ...
  • 11
0 votes
0 answers
141 views

1 of 6 harddisks gone after wakeup/resume from S3 (suspend to RAM)

For a few days now each time I systemctl suspend (S3/Suspend to RAM) my PC one of the hard disks disappears. There is no /dev/sdb any more, though /dev/sda and /dev/sdc through /dev/sdf remain. It ...
  • 8,228
1 vote
0 answers
83 views

suspend display when in login manager login screen

I have a laptop and a PC, both with Debian 10 installed. I am using slim login manager on both. When I log out from the X server session on my PC, I get the slim login screen. After few seconds, the ...
0 votes
0 answers
32 views

Use one of batteries in charging

My laptop has 2 batteries. Is there a way to prevent using battery X while charging? I mean that when I use laptop in charge, the OS uses battery Y not battery X. My batteries are Sony 45N1111 and LGC ...
1 vote
0 answers
1k views

Where is the missing power consumption coming from?

My laptop (Dell Precision 7550) has been running extremely hot and consuming battery very quickly, even with no applications running. According to powertop, when running nothing but gnome and a ...
  • 8,093
0 votes
0 answers
45 views

HDMI Monitor won't work after waking up from deep mem state

I was testing power management and when I issue a "mem" "deep" state, the system does suspend for a about a second (power button starts to flash) then kicks on again. However the ...
1 vote
0 answers
357 views

Intel RAPL default power limits are too low

I am running Arch Linux with kernel 5.17.4-arch1-1 on Asus Zenbook 14 UX435EG Laptop. Specs: CPU: 11th Gen Intel Core i7 1165G7 (4 cores, 8 threads, TDP-down: 12W @ 1.20 Ghz, TDP-up: 28W @ 2.80 Ghz, ...
2 votes
1 answer
95 views

Halt purpose: What does "you can perform low level maintenance" mean?

About halt in Linux in these places: What is the difference between the shutdown, halt and reboot commands? Understanding Shutdown, Poweroff, Halt and Reboot Commands in Linux What is halt command in ...
1 vote
0 answers
257 views

Control power settings via command-line only

I have old Samsung N220 netbook running Debian 11.3 that I have configured as an octoprint server. I have managed to get the system to stop entering suspend when the lid is closed, but would like to ...

1
2 3 4 5
11