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
0answers
14 views

Manjaro power management: frequent suspends and xfce4-power-manager not opening

First a bit of background: I'm currently trying to breathe some new life into a 10-year-old Acer Aspire 5551 as a web-and-word machine. It's been given more RAM, a bigger hard disk (SSD is coming soon)...
1
vote
1answer
33 views

How to disable a USB port

The cable connecting the webcam and my laptop seems to be broken. As a result, the webcam keeps connecting and disconnecting all the time. Is it possible to disable a USB port? A sample of the dmesg ...
0
votes
1answer
26 views

Arch linux: restore session with running programs after running out of battery

I have Lenovo notebook with Arch linux. When I run out of battery and my notebook dies, after starting it. It freshly boots new session. Is there a way to restore previous session and continue in it ? ...
0
votes
0answers
36 views

power management, suspend/resume problem, Dell i15-5505, Ryzen 7

I have the classic Linux laptop suspend problem. I just bought a new, shiny laptop. I'm running Mint 20.1 with Mate on a Dell i15-5505 with Ryzen 7 4700, 16GB RAM, 256GB+1TB SSDs. The standard Mint ...
0
votes
0answers
22 views

Is there a method for getting the instaneous power usage of the computer with the connected devices?

I was hoping programming languages close to machine code(assembly, C) would help on this circumstance. But I couldn't find anything about instant power usage monitoring or even estimated power drawing....
0
votes
3answers
59 views

My laptop battery does not charge above 79%

I have had a Dell Latitude-5501 (with Linux Mint 19.3 MATE) laptop for about a year. A day or two ago it stopped charging over 79% plus the battery drains pretty quickly. I do not remember installing ...
0
votes
0answers
20 views

Keyboard and mouse stay on after shutdown

I'm having an annoying issue with my PC, the keyboard and mouse stay on after shutdown and this is odd because does not happen when I use Windows or put the computer to hibernate. It's completely ...
0
votes
0answers
26 views

How to send shutdown signal in OpenSUSE with Xfce from lock screen?

Where should I look for an option to enable system shutdown directly from lock screen, without logging in? I've activated 'Shutdown when button is pressed' in Xfce power manager, and it works as ...
1
vote
0answers
10 views

PCI-Express device refuses to wake up from D3

I’m working with a fpga expansion card (pci-e connected; terasic de10 pro). My problem is whenever I don’t use the card for a couple of minutes it stops completely and only a complete shutdown can ...
0
votes
1answer
26 views

linux: poor ACPI support on AMD Epyc?

I have a server HPE ProLiant system with AMD Epyc CPU, BIOS A43 v1.20, with Linux kernel 5.4.0. cpupower always reports no available drivers and as a result I can't set CPU frequencies (details in my ...
0
votes
0answers
44 views

Linux Mint: lid close action triggered when charger connected/disconnected

I just installed Linux Mint 20.1 Cinnamon on my Razor Blade Stealth 13 inch laptop. Every time I connected or disconnected my charger the laptop would go into sleep mode after a few seconds. I changed ...
8
votes
1answer
132 views

xset: ignore mouse movement when display is blanked

I can blank/turn off display on my laptop with following command: xset dpms force off then, any mouse movement or keyboard press "wakes up" the display. Is it possible to ignore mouse ...
0
votes
0answers
12 views

Does Gnome have an option to automatically power off connected monitors (visual display units)?

I haven't found an option in the settings. I prefer not 'locking' my system (since I have a desktop computer which I don't share with anyone), but even when I had a screen lock enabled the monitor was ...
1
vote
0answers
69 views

How to prevent upowerd from being launched

Running DM-Less KDE-Plasma-5.19.5 Under a non-systemd Linux-5.4.80 and dbus-1.12.20 I try to get rid of the upowerd daemon. I understand that upowerd is launched by dbus upon request from whatever ...
1
vote
0answers
17 views

Ping already connected bluetooth keyboard

I have a terribly lazy bluetooth keyboard which I try to keep awake (see: previous question). If I don't hit any key, it sleeps after a time between 30s to 10mn (depending of how long I used it before,...
1
vote
2answers
59 views

Arch Linux i3 Power Management Question

I recently got into the i3 ecosystem and am starting to configure it. I noticed that the system does not auto lock and suspend like Gnome would do after certain amount of idle time. What would be your ...
2
votes
1answer
140 views

linux: can't set cpu frequency governor with cpupower

I have a server HPE ProLiant system with AMD Epyc CPU, BIOS A43 v1.20, with Linux kernel 4.19.71 (as well I tried on 5.4.0). Now, I'm trying to set CPU performance governor: # cpupower frequency-set -...
0
votes
2answers
71 views

Suspend laptop when closing lid

My laptop does not suspend when I close the lid. I have the default settings in /etc/systemd/logind.conf, i.e. everything is commented out (uncommenting does not have an effect, as expected): $ grep -...
0
votes
1answer
24 views

Find out how much electricity is being fed through my charging adapter?

I am not an electrician, so I am not sure how to ask this, whether I need to refer to voltage, or watts, or something out. In lamens terms, I am wondering how much electricity is currently being fed ...
0
votes
0answers
47 views

Enabling ASPM L1 on pcie device

I have a device connected via PCIe and I'm trying to enable L1 for it, i.e seeing ASPM L1 Enabled in the LnkCtl area in lspci I succeeded doing it manually from the bash using setpci with the ...
3
votes
1answer
326 views

Prevent bluetooth keyboard from sleeping

After a few minutes of inactivity (10mn?), my keyboard go to sleep. I have to press a key, then, wait 5 long seconds before I can use it again... First, some technical details : Linux Mint 20 ulyana -...
0
votes
0answers
30 views

(Linux Lite) Wi-Fi turns itself off if device is running for some time OR doing something “intensive”

The device is a laptop, Acer One 14, and it's my girlfriend's. Its OS is Linux Lite (Ubuntu-based). Just like what the title says, the wi-fi turns itself off when the laptop has been running for some ...
1
vote
0answers
14 views

Which daemon monitor the battery (and activity, etc.) and put the system to sleep when the proper conditions are met?

In almost all Linux distributions you can configure that when some conditions are met the computer will be put to sleep/hibernate. After some time of inactivity, or when the battery is low, etc.. As ...
0
votes
2answers
62 views

How to check battery history in a text format on debian?

I am using the command upower -i /org/freedesktop/UPower/devices/battery_BAT0 and acpi -V to check the battery current status. It shows it has history and statistics. How can I check the history? I ...
0
votes
0answers
53 views

GalliumOS/Xfce screen brightness buttons stop working after external monitor disconnect

When I connect an external monitor and then disconnect my Acer C910 running GalliumOS (Ubuntu variant) the brightness keys stop functioning to dim/brighten the laptop screen. The other keys still ...
0
votes
0answers
11 views

How to debug and monitor the power management?

I want to track a problem which is likely caused by a bug in the power management. How can I get verbose information on the power management activities? I am looking for a log functionality which can ...
0
votes
1answer
33 views

How to check the system did a graceful shutdown?

How to check the system did a graceful shutdown? Is there any log in /var/log/messages to indicate the last time shutdown is a graceful shutdown?
1
vote
0answers
18 views

Keeping LCD backlight On while going in sleep state

i am using ubuntu 18.04.4 and i am trying to use some power management related stuff. I want to keep laptop backlight ON (using sysfs) while my laptop is entering into sleep, i am giving following ...
0
votes
0answers
54 views

Is there anyway to stop charging when laptop battery is < 80%?

I'm a Linux (Debian) user. I work on my laptop full days. Most of the time I forget to remove the laptop charging plug. I'm looking for something when my laptop battery is more than 80% it will ...
0
votes
0answers
24 views

System requires reboot when disconnected from power

My system works fine when on AC but once it is unplugged it starts to lag unbearably.I believe it is not a hardware issue because if it is plugged back to power or restarted on battery the system ...
6
votes
0answers
1k views

How can I use a USB keyboard or mouse to wake from suspend?

I am using GNOME 3.36.6 on Arch Linux. By default, GNOME's automatic suspend option is enabled and it works as expected. However, I have to press the power button to wake the computer from suspend. I ...
1
vote
0answers
22 views

How to appropriately set spindown (Power Management) when using SnapRaid?

I run openmediavault 4.1 and changed from RAID6 to SnapRaid with 7 hard drives for data plus parity. I remember reading installation advice on RAID setup that said "never set spindown for HDD&...
0
votes
0answers
25 views

Multiple issues after fsck on Mint 19.2 + MATE Dell Laptop

I'm using Linux Mint 19.2 with the MATE DE on a Dell Inspiron Laptop. Due to booting problems, I had to do a file-system check (fsck) on my hard disc. Now it boots properly, but possibly because of ...
0
votes
0answers
13 views

How to match AC and battery settings

As a new Linux user, I posted this question on both AskUbuntu and the Ubuntu Forums, but with no luck, so I'm hoping someone here can help me. I have an ASUS A15 with Ubuntu 20.04 installed. I've been ...
0
votes
0answers
73 views

Processor is slower after switching from AC to battery and back

I've noticed that my system slows down after switching to battery, but doesn't speed up once it's plugged in again. For example, if I run a portion of an R script after booting, it finishes in ~25 ...
4
votes
0answers
62 views

simplest way to enable user (non-root) to suspend laptop

My laptop has suspend capability: # cat /sys/power/state freeze mem and indeed I can suspend as root: echo -n mem > /sys/power/state This works fine. But what would be a minimalist way to enable ...
1
vote
1answer
192 views

What is difference in unit between energy-full vs charge_full?

I have 2 different results of maximum batery energy: upower -i $(upower -e | grep -i bar) | grep energy energy: 18.061 Wh energy-empty: 0 Wh energy-full: 33.4021 Wh energy-...
0
votes
0answers
25 views

With multiple events, ignore one event type and attend another in udev

Using GNOME 3.36. I have scripts run by udev that control the screen brightness when AC power is switched on/off. I also have a script that I want to run only when screen brightness is changed through ...
2
votes
1answer
53 views

Definition of 'inactive' in power management

Linux Mint. Power management provides an option to suspend when inactive for xx mins/hours. But I would like to know what 'inactive' means. I am wondering what 'inactive' actually means... some ...
0
votes
0answers
455 views

how to check the battery percentage of Apple airpods and case on linux?

is there any command for checking AirPods battery status on Linux. I am developer of i3blocks-airpods Just want to know if there is a way to check battery status?
2
votes
1answer
142 views

Why is systemd ignoring my power button?

When I press the power button nothing happens. System logs show that the kernel is detecting the button without issue: input: Power button as /devices/... ACPI: Power button [PWRB] Why isn't systemd ...
0
votes
0answers
12 views

How U-APSD works when only delivery enabled?`

Could you please anyone explain how U-APSD power save works for particular access category is only delivery enabled?
0
votes
1answer
22 views

Is Wi-Fi power saving smart enough to only actually take effect when on battery (no power plug)?

Referring to NetworkManager commit 6bb0cffba32ec925743c4d491b75474d4e855198 implementing dynamic power save (DPS) as advertised in "Manage Wi-Fi latency and dynamic power-savings on Linux", ...
0
votes
1answer
90 views

Wi-Fi powersaving in NetworkManager [duplicate]

I found this option in the file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf : wifi.powersave = 3 But couldn't find detailed explanations about that in the manpage: wifi.powersave If ...
0
votes
1answer
30 views

How are WiFi or Bluetooth drivers affected by suspending or hibernating?

I was reading about power management in Fedora when I stumbled upon this When a system is suspended, the kernel calls on drivers to store their states and then unloads them. When the system is ...
1
vote
0answers
310 views

How to turn off Wireless power management permanently using systemd-networkd?

This question is very much related to How to turn off Wireless power management permanently, albeit when using systemd-networkd to manage hardware. I have a headless Raspberry Pi Model 3 connected to ...
0
votes
0answers
126 views

pp_od_clk_voltage: No such file or directory

I try to under-volt my hybrid GPU cause it's eating battery like crazy. I added to systemd-boot : amdgpu.ppfeaturemask=0xffffffff then switched to amdgpu.ppfeaturemask=0xffff7fff cause WattmanGTK ...
1
vote
0answers
156 views

Fedora/ Gnome: Disable sleep when undocking

Ask: I am looking for a way to stop my Fedora 32 notebook from going to sleep when I remove the external monitor (lid is always closed, it is always plugged in) Use case: I have a WFH setup where I ...
2
votes
1answer
267 views

Turn off monitor and poweroff

I want to power off my monitor at system shutdown. Tried the following: sleep 10; xset dpms force off; poweroff xset command turn off the monitor, but then poweroff exits from X and turn monitor on ...
1
vote
0answers
81 views

Defaultl ACPI sleep state in linux

As stated in the ACPI specification and also here , the sleep states (a.k.a G1 states) of the ACPI is as follows : G1/S1: Power on Suspend. The system state is preserved, so CPU and CPU Caches are ...

1
2 3 4 5
10