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
0 answers
7 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 ...
  • 705
0 votes
0 answers
11 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
5 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
11 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 ...
  • 4,512
0 votes
0 answers
9 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....
  • 146
1 vote
1 answer
18 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
20 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
62 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 ...
0 votes
1 answer
47 views

Restart the Plasma power indicator/monitor

I don't know whether it's an update in Fedora 36 Plasma or the preset heat wave that made my battery indicator crazy on a Macbook Air. When the battery goes down the indicator doesn't show the ...
  • 1,079
0 votes
0 answers
13 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 ...
  • 23
0 votes
1 answer
120 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 ...
  • 123
0 votes
0 answers
63 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 ...
0 votes
1 answer
897 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
53 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 ...
  • 1
0 votes
0 answers
62 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 ...
  • 7,896
1 vote
0 answers
50 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
25 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
368 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 ...
  • 7,923
0 votes
0 answers
21 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 ...
0 votes
0 answers
158 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
48 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
104 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 ...
4 votes
2 answers
252 views

Cpu frequency is too low due to faulty battery

I have a battery which apparently is dead (I've tried to re-calibrate it with power-calibrate, didn't work). $ acpi Battery 0: Charging, 0%, charging at zero rate - will never fully charge. Battery 1:...
  • 445
1 vote
0 answers
559 views

USB-C port no longer receiving power

I have previously been using USB-C to charge my Lenovo IdeaPad Flex 5 on Fedora 34 using the power adapter that came with the laptop. However, after using the USB-C port to transfer data from a hard ...
  • 11
0 votes
0 answers
163 views

Enable USB in sleep mode

I'm trying to enable my USB ports while in sleep mode on my Manjaro Linux running KDE. I've tried enabling wakeup in /sys/bus/USB/devices/*/power/wakeup
  • 1
1 vote
0 answers
360 views

Get battery charging level of Razer mouse and keyboard

I'm looking for a way to get the battery charging level of my wireless "Razer Pro Type" keyboard and "Pro Click" mouse, both connected with a 2.4GHz USB dongle. There is an answer ...
  • 338
1 vote
1 answer
396 views

Patching the kernel to allow hibernation with secure-boot enabled

My current config is Windows-11 (required for my job) and Ubuntu 21.10 dual-booting on an HP Probook G10. Since I have to have secure-boot to run Win-11, I have to live without hibernation on Linux (...
  • 133
1 vote
0 answers
200 views

Ubuntu Server 20.04 - Power Button does not do anything

I am trying to figure out why I can no longer turn off my server using the power button. I first noticed that it no longer worked after I installed Transmission. Steps I have tried: I removed ...
  • 11
1 vote
1 answer
108 views

Identifying the sources of mysterious IO that prevent ZFS disks from spinning down

I have a Debian system with an SSD as the primary drive and two spinning disks for bulk storage configured with a single mirrored vdev (and a single partition within it). Those disks are loud, so I'd ...
  • 111
1 vote
1 answer
157 views

Void Linux upower issues

I recently installed voidlinux in a Samsung NC10 netbook. I installed LxQT but after starting LxQT cannot find the battery. Looking at the problem it seems that upower cannot start correctly. If I run ...
  • 121
2 votes
0 answers
206 views

Switch Source Vs. Sink Modes with USB PD over type c

I have a 60W type C battery pack and I can use to charge my laptop. It is designed to both accept power and send power over its single USB C port. However, since the type c ports on my laptop are also ...
0 votes
0 answers
133 views

How to create a custom notification in KDE Plasma for charging battery?

Is there a way for me as an user to create a custom notification (either from a script or a helper application) to be shown when an event's conditions are satisfied in Linux? In my specific case, I'd ...
1 vote
1 answer
13 views

How to schedule a period of time in which power-on or log-in is prevented?

So you may get a better idea of the context, this idea comes from the specific problematic of "letting kids being progressively responsible of their own devices". So I was wondering if there ...
  • 23
0 votes
1 answer
102 views

Autokey - Adjusting Screen Brightness with Hotkeys (and sustaining that brightness in Awesome Window Manager)

In awesome window manager, my screen brightness gets reset to 100% each time I'm away from my computer for a few minutes. How can I get it to sustain the brightness I set prior to these screen-saver/...
  • 4,433
0 votes
0 answers
201 views

How to fix no USB power after suspend on Manjaro?

After suspend and resuming, my USB aren't powered anymore and it won't disover the devices on my Tinkpad E14. (I have a hub on which my PC and mouse are plugged in.) On reboot, everthing works fine ...
  • 13.7k
0 votes
0 answers
459 views

How to make battery charging threshold effective after shutting down?

I can use below script to set/get battery charging threshold to stop battery charging at 85% using: echo 85 > /sys/class/power_supply/BAT0/charge_control_end_threshold cat /sys/class/power_supply/...
  • 101
1 vote
0 answers
50 views

UPower: PercentageLow, PercentageCritical - any meaning?

My Linux uses UPower / upowerd. PercentageAction works, but I have not noticed anything happening on PercentageLow and PercentageCritical, as of now AFAIK they are only burden to make sure: If any ...
1 vote
1 answer
101 views

How to reconfigure kernel with PM_RUNTIME=y?

tlp-stat tells me to do the following: +++ Recommendations * Reconfigure your Linux kernel with PM_RUNTIME=y to reduce your laptop's power consumption. And i have no idea how I am supposed to do ...
  • 45
2 votes
0 answers
232 views

How get a headless Debian server on a laptop to switch off the screen but keep running when lid is closed?

I'm running a headless (no GUI, no desktop environment) Debian server on a laptop. I would like it to switch off the screen but keep running when lid is closed. I already tried setting HandleLidSwitch=...
  • 166
0 votes
0 answers
24 views

How to restore (normalize) HDD spinoff timeout in LXLE?

After the last update on my system, the timeout setting for turning off the hard disk was broken. This problem manifests itself as a constant shutdown and spinning of the HDD motor at intervals of ...
  • 143
0 votes
0 answers
19 views

ftrace cpu_idle state 0 and -1

I have read in here that when using ftrace and we get a cpu_idle line like: <idle>-0 (-----) [000] .n.1 4536.120761: cpu_idle: state=4294967295 cpu_id=0 this means that the CPU goes back ...
  • 1
0 votes
1 answer
138 views

Elegant way for notification when power button pressed

I want to display a notification for user via notify-send when power button is pressed. Power button has a special script attached which allows to shutdown only when specified amount of time has ...
0 votes
1 answer
1k views

Turn off Suspend, Sleep, Hibernate for user (xfce4)

as the title is says, I want to disable all methods (buttons, commands, etc.) an unprivileged user have to turn a system into any standby-mode (sleep|hibernate|hybrid) under xfce4. I found out that ...
  • 1
0 votes
0 answers
17 views

How Linux powers off itself in default action? [duplicate]

After a little research I found different ways of shutdown or power off the system but can't find anything about how Linux doing this healthy way. The ways of shutdown that I found are: halt poweroff ...
  • 1
2 votes
0 answers
205 views

Hourly or daily power consumption or power average consumption

I've read countless posts about reducing power consumption, and that's not why I'm here. I'm looking to get daily or hourly power usage statistics, so that I can estimate the cost of keeping equipment ...
  • 198
2 votes
1 answer
129 views

How to get a serial console on a modern Laptop

I would like to observe my Linux system while getting suspended. Reading out the dmesg does not work, because my system stops logging until the device resumes. But that's exactly the problem, my ...
  • 181
0 votes
0 answers
47 views

suspend call stack - how does suspending the system work?

I would like to understand what is wrong with my linux system (or hardware). Sometimes I lose my session when the system is suspended, instead, it restarts then instantly without restoring anything. ...
  • 181
0 votes
0 answers
43 views

Verbose suspend mode?

I am using Ubuntu 21.10 on my ThinkBook 13s-IWL. When I close the lid or go to the suspend mode manually, the laptop seems to crash most of the time. That means, the display turns black as expected, ...
  • 181
0 votes
0 answers
101 views

On Linux Mint, rtl8821 wifi module fails intermittently

Since I installed Linux Mint over a year ago, I've had issues with my wifi. After the system suspends and comes back, sometimes the wifi works and sometimes it doesn't. It will always work after ...
  • 1
0 votes
0 answers
149 views

How to display laptop charging speed

I have a laptop that charges via USB-C (fifth generation Thinkpad X1 with Ubuntu) and it can be charged by connecting it to the USB-C port of my desktop. But I would like to know at which wattage it ...

1
2 3 4 5
11