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
1 vote
0 answers
20 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 ...
user avatar
  • 7,803
0 votes
0 answers
14 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 ...
user avatar
0 votes
0 answers
18 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, ...
user avatar
2 votes
1 answer
27 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 ...
user avatar
1 vote
0 answers
19 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 ...
user avatar
3 votes
2 answers
97 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:...
user avatar
  • 330
0 votes
0 answers
61 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 ...
user avatar
  • 1
0 votes
0 answers
26 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
user avatar
  • 1
1 vote
0 answers
63 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 ...
user avatar
  • 338
1 vote
0 answers
54 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 (...
user avatar
  • 131
0 votes
0 answers
41 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 ...
user avatar
1 vote
1 answer
50 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 ...
user avatar
  • 111
1 vote
1 answer
56 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 ...
user avatar
  • 121
1 vote
0 answers
60 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 ...
user avatar
0 votes
0 answers
48 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 ...
user avatar
1 vote
1 answer
10 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 ...
user avatar
  • 23
0 votes
1 answer
60 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/...
user avatar
  • 4,311
0 votes
0 answers
68 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 ...
user avatar
  • 13.2k
0 votes
0 answers
126 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/...
user avatar
  • 101
1 vote
0 answers
29 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 ...
user avatar
1 vote
1 answer
73 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 ...
user avatar
  • 45
0 votes
0 answers
75 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=...
user avatar
  • 148
0 votes
0 answers
20 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 ...
user avatar
  • 143
0 votes
0 answers
12 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 ...
user avatar
  • 1
0 votes
1 answer
55 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 ...
user avatar
0 votes
1 answer
591 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 ...
user avatar
  • 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 ...
user avatar
  • 1
2 votes
0 answers
109 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 ...
user avatar
  • 198
2 votes
1 answer
65 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 ...
user avatar
  • 161
0 votes
0 answers
33 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. ...
user avatar
  • 161
0 votes
0 answers
19 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, ...
user avatar
  • 161
0 votes
0 answers
53 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 ...
user avatar
  • 1
0 votes
0 answers
66 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 ...
user avatar
0 votes
0 answers
165 views

Pop_OS 21.04: intel_pstate driver throttles all CPUs to min_freq on AC

I've been having issues with CPU frequency scaling lately on my DELL Precision 5540 running Pop_OS 21.04, kernel 5.13. It's an Intel i9 with 8 physical cores, 16 threads at 2.4GHz default clock speed. ...
user avatar
  • 101
0 votes
0 answers
52 views

Wifi card hard locked after suspend or hibernate

Every time my pc suspends or hibernate the wifi card hard lock is enabled and there is no way to disable it. I run Pop OS on an MSI GS 65. Fn + f10 (airplane mode) doesn't work. I have tried changing /...
user avatar
  • 1
3 votes
0 answers
566 views

How to disable USB power in standby/suspend

I am running Ubuntu 21.04 on a MSI X570-A PRO mainboard. Kernel is 5.11.0-37-lowlatency. I've connected an USB soundcard, an Elgato Stream Deck and a Novation Launchpad X to it. I usually don't ...
user avatar
0 votes
0 answers
36 views

Laptop will not sleep if Tuned and Powertop are enabled

I have a Lenovo Thinkpad X1 Extreme Gen 2 laptop. Intel CPU. Fedora 33 KDE. I have installed Powertop2Tuned and Tuned and thermald. When Tuned is active and using the powertop profile, the computer ...
user avatar
  • 121
0 votes
0 answers
28 views

How can I detect if the GPU is a dedicated card or integrated with the cpu package, on linux?

I was planning on writing a cpu governor module for the freedesktop power profile daemon, which has three states: low power, balanced and performance. According both to the tests made by phoronix and ...
user avatar
  • 43
0 votes
0 answers
71 views

Why does my Laptop CPU throttles itself until I pull and reinsert Power Cable?

my Laptop (HP Envy x360) with an AMD Ryzen 5 2500U is at a stable ~2,4 GHz when under load but after some time it always drops to 1,2 GHz and won't go up even though plugged in, 100% Battery charge ...
user avatar
1 vote
0 answers
63 views

The strange power consumption behaviour of a Quadro card when `vfio-pci` has been removed an `nvidial` reattached

I have built a system with a Geforce GTX 960 and a Quadro M4000 graphics card, that I usually pass through to a virtual machine. The GTX 960 card is only used by the host. Normally, the Quadro card ...
user avatar
  • 132
0 votes
0 answers
35 views

How to prevent Laptop from sleep when it hits critical battery

I have Pop_OS 21.04 installed on my laptop. Sometimes the laptop suddenly drops to 0% even through it could run for hours more. The issue is that the power manager triggers sleep, even through I ...
user avatar
  • 121
0 votes
0 answers
62 views

Cinnamon block-inhibits suspension when an application delay-inhibits it

I am using Linux Mint 20.2 with Cinnamon 5.0.5. I have an application /usr/bin/vk, which sets a delay systemd inhibitor against suspension. For some odd reason, cinnamon itself sets an additional (...
user avatar
  • 117
1 vote
1 answer
60 views

Battery loses power even when connected to a good power source

I am running Arch linux on my Lenovo ideapad 320 with KDE as the GUI. My laptop is always connected to a good power source but for some reason it keeps losing power from the battery, i.e. 1% every 2 ...
user avatar
  • 23
1 vote
0 answers
15 views

Put a graphic card into low energy mode

I have a home PC server with a PCIe graphic card (not integrated into the CPU or motherboard). This graphic card has a fan to keep it cool which involve some noise, and the electric consumption seems ...
user avatar
1 vote
1 answer
242 views

What keeps waking up my screen?

I have screen energy saving enabled, but my monitors never turn off automatically - even when the screen is locked. I can -briefly- manually turn them off using xset dpms force off, but in a couple of ...
user avatar
1 vote
1 answer
130 views

Systemd Login Service not working properly | i3wm

I have a problem with the suspend on lid closure, which is not working anymore together wirh i3wm (with xfce it works). The systemd login service is running and also detects the lid close and open ...
user avatar
  • 33
0 votes
2 answers
152 views

What is the mechanism behind shutdown on long-hold off power button, as opposed to quick press?

It is possible to control the behaviour of the power button using the 'HandlePowerKey' option in logind.conf. This is set to 'suspend'. A simple tap of the power button works as expected, suspending ...
user avatar
0 votes
1 answer
166 views

Upower suddenly stopped working

It happened fairly recently, I started not seeing the battery/power indicator on the status bar. I looked into /var/log/syslog and found the following error: upower.service: start operation timed out. ...
user avatar
  • 111
0 votes
0 answers
636 views

Ubuntu 20.04 not detecting external monitor after suspend

I was using the two external monitors plugged into ThinkPad-T14s-Gen-1 that has installed only Ubuntu 20.04, the laptop has AMD Ryzen 7 pro 4750u with AMD integrated graphics. One monitor was plugged ...
user avatar
0 votes
0 answers
168 views

Upower error in Ubuntu 18.04

I had a problem yesterday where if the mouse battery was low, the brightness would be dimmed. Trying to find a way to fix that I followed what was shown on this website. As little as I understand, the ...
user avatar

1
2 3 4 5
11