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
1answer
15 views

Ubuntu 19.10 Laptop wakes up immediately after suspend

When I try to suspend my Ubuntu ASUS laptop, it immediately wakes up. The laptop is a few months old and as far as I can remember, I've always had the issue. I tried to solve this problem with ...
1
vote
1answer
29 views

Why CPU temperature so much lower when on TLP Battery mode instead of AC mode?

I'm using Ubuntu 18.04 and TLP (Linux Advanced Power Management). When I have my laptop plugged and battery inserted and TLP is in auto mode (it detects the cable and goes AC mode), the CPU ...
0
votes
0answers
21 views

Why does my integrated webcam have two different device numbers?

My lsusb output is: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 5986:112d Acer, Inc BisonCam, NB Pro Bus 001 Device 010: ID 045e:07f8 Microsoft Corp. Wired ...
0
votes
1answer
21 views

how to system-beep as low battery warning?

I'd like a debian laptop with LXDE to do a system beep every 10 or 30 seconds once the battery reaches a critical level. is that possible?
0
votes
0answers
53 views

Using TLP with a Docking Station - Docking Station not charging thinkpad

I am using a Lenovo X1 Carbon 6th Gen with a USB-C Gen 2 Docking Station. When I am not using TLP the docking station is charging my Thinkpad just fine. Also all peripherals work as expected. As soon ...
0
votes
1answer
38 views

How to remove noise in speakers?

After my operating system boots, I can hear repeatedly scratch-like noise from speakers. I googled this problem, and almost found solutions somewhere: if I type like a echo 0 | sudo tee /sys/module/...
0
votes
0answers
19 views

Detecting HP Envy x360 Ryzen5 3500u lid open/close?

I tested a lot of environment such as Ubuntu 19.10, Ubuntu Mint, Arch Linux, using Gnome, KDE Plasma etc. And they didn't work except Windows 10. They do nothing when I open/close their lid as I ...
0
votes
0answers
20 views

reasons for laptop shutting down

I have a laptop running Arch that I've been using for about 3 years now. Admittedly, I'm a bit sloppy on system updates, but it's in great shape aside from a few quirks with the graphics driver. This ...
1
vote
1answer
52 views

Linux Mint on Dell XPS 9570 - Power Issues, Inconsistent power-on

This is my first time posting on a linux help site, so be gentle. I've installed Linux Mint 19.3 "Tricia" on a 2018 Dell XPS 9570, 15" laptop. People have addressed this in many posts, including this ...
1
vote
1answer
55 views

How to deal with a screen that turns permanently black when closing the laptop lid, in Debian?

On a Thinkpad W530, running Debian 10 (with XFCE): The screen turns black after closing and opening the lid, and stays black. The computer remains on and is working, it is possible to SSH in over the ...
1
vote
0answers
35 views

Is it possible that a Logitech wireless mouse connected over bluetooth to a linux machine consumes more power, than when connected to other OS?

I have got a Logitech M590 connected over Bluetooth to my Ubuntu 19.10 (up-to-date), and it turns out that the battery of the mouse runs out after about two months while Logitech advertises two years ...
0
votes
0answers
5 views

Dell Inspiron 5559 touch screen flaky causing system not to boot

I have a touch screen on my Dell Inspiron 5559, and Linux will continually try to power cycle it and fail. It will sometimes never finish booting because of this. Is there a way to disable this device?...
1
vote
1answer
27 views

Automatic shutdown after no activity

I've recently inherited maintenance of a couple of Linux based internet kiosks basically just Ubuntu with a graphical session locked into Firefox. Anyway is there a ready made solution for sending ...
0
votes
0answers
16 views

Power consumption high, GPU 100% run, no RC6 state in powertop / turbostat

Debugging the high power consumption of my laptop I see in powertop that GPU is never goes to power saving states. If I give some load to GPU I can see in sudo turbostat --quiet --show GFX%rc6,...
0
votes
1answer
109 views

How to disable the power saving for snd_hda_codec_realtek?

I'm on Linux Mint 19.3 (Kernel 5.3.0-28) and my mainboard comes with a Realtek ALC887 onboard chip (snd_hda_codec_realtek). Due to the default power managment the power saving state switches on and ...
0
votes
0answers
54 views

Linux Commands to Force Intel CPU to desired C-State and Wake-Up

I have pinned some application – specifically, gvim – on core 1 with taskset with the command taskset 0x2 gvim.  Now I want to forcefully make core 1 enter a desired C-State at a desired time (not due ...
0
votes
0answers
29 views

Is there any smarter battery monitoring tool?

I was using acpi command in my script to determine the remaining battery charge, which is consistent with both the Xfce battery applet and upower output. However, there is an interesting design flaw ...
2
votes
1answer
130 views

Why is upower output different from /sys/class/power_supply contents?

I'm debugging a situation where the remaining battery percentage report is not accurate for my newly installed battery. Regarding the answer of my previous question, various tools query the battery ...
0
votes
0answers
20 views

How to approach or is there a how to power management for Linux (Debian)?

I am aware that the runtime of my laptop battery is not so long but with Windows it is. Since I prefer running Windows virtual this doesn't help for power saving. I installed a cpu governor for ...
2
votes
0answers
26 views

Filter Bluetooth Devices from ACPI Command Output

I have a battery status script for my laptop which parses the output of acpi -b. Since my laptop only has one battery this has worked fine for years. However, I recently purchased a bluetooth ...
0
votes
0answers
19 views

Run a custom script on power change - power adapter plugged in and out

I am searching for an option to execute a custom sh script when the power source of my laptop changes between battery and AC. I did research and found that it can happen using ACPID, but no matter ...
0
votes
0answers
9 views

cpu frequency reported values

I have a 4 socket server, running E5-4667v3. I have the power profile set to performance low-latency. For reference: https://ark.intel.com/content/www/us/en/ark/products/85765/intel-xeon-processor-...
1
vote
1answer
85 views

unfreeze SSD disk when kernel does not support “suspend”

I need to secure erase SSD disk with hdparm on my server: hdparm --user-master u --security-erase NULL /dev/sda but the disk is currently "frozen", as reported by hdparm: hdparm -I /dev/sda | grep ...
0
votes
0answers
715 views

Fedora battery life and tick_sched_timer

I recently installed Fedora 30 for work on my Gigabyte Aero 15X v8. I blacklisted nouveau drivers as I don't need the discrete GPU while working and installed TLD. But even after that, the battery ...
2
votes
1answer
108 views

How to make linux userland applications think that laptop lid is always open?

THE GOAL: I'm trying to make my linux laptop (a T400 ThinkPad with Libreboot) behave exactly the same way whether the lid is open or closed. To put it another way, I'm trying to simulate a laptop ...
0
votes
2answers
292 views

Difference between C-state and S-state?

I was going through the Linux power management files, and I am confused about the C and S states. The C-states are defined in /sys/devices/system/cpux/cpuidle/. From what I understand they are used ...
2
votes
1answer
44 views

How do I make my computer ask before shutting down instantly?

I've just installed Alpine Linux with XFCE and I really like it, though one thing makes it nearly unusable for me. That's the fact that when I press the power button it immediately shuts off with no ...
1
vote
1answer
35 views

Power off server after 24 h in suspend-to-ram mode

I have bought a noisy, power hungry home server. Ideally, I would like for it to be off exactly when I do not use it and be on exactly when I do use it. This ideal scenario is impossible, so I have ...
0
votes
0answers
29 views

Laptop does not resume from hibernation

So the hibernation in OpenSUSE Tumbleweed seems to work on my ThinkPad P73 laptop, but only in one direction. When I try to resume from hibernation, the laptop only boots like I rebooted it without ...
0
votes
0answers
24 views

How to raise android kernel poll frequency for power supply values in sysfs?

I'm new to the linux kernel and I'm trying to understand how the process of updating battery state values on sysfs (/sys/class/power_supply/battery) happens. Currently I believe the sampling period ...
0
votes
1answer
15 views

Laptop will not stay in suspend

I have an Asus UX32VD, and it will not stay in suspend, but when I boot it from USB, it seems to be no problem at all. Is there a clever way to check if it's something I have installed that wakes up ...
0
votes
0answers
29 views

sleep, suspend, command not working neither screen goes blank on timeout nor screen get auto lock on kali linux

I have installed Kali Linux. my problem is that the screen doesn't go blank automatically. there is no problem in settings. I have checked that in settings-> power -> DIM SCREEN WHEN INACTIVE IS ON &...
2
votes
0answers
32 views

Integrated webcam consuming power even when unloaded

I am using Manjaro i3. Usually my system's power consumption is about 4-5W (reported by powertop). But, after I use my integrated webcam, the consumption increases and Integrated Webcam is the major ...
0
votes
0answers
172 views

Thinkpad T430: Unable to turn off USB power during sleep

I recently picked up an old Lenovo Thinkpad T430. I love the machine, but I can't get any of the USB ports to shut off during sleep. I wouldn't otherwise care, but I usually use a USB cooling pad and ...
0
votes
0answers
40 views

Will tlp's CPU_SCALING_GOVERNOR_ON_AC settings conflict with the Mate cpufreq widget?

I want to find a way to set the CPU governor to powersave on boot, and then manage it through the CPU frequency scaling monitor widget. However, the comments in the config file of tlp say "You must ...
0
votes
0answers
67 views

Linux Mint shuts down on standby mode after certain time

I have a lenovo thinkpad laptop with linux mint 19.2 installed and I'm using the standby mode. After a certain time (a few hours) the laptop shuts down completely instead of just staying in standby ...
3
votes
1answer
273 views

Suspend-to-RAM with systemd configuration

I want to Suspend-to-RAM with systemd. The Linux kernel user's and administrator's guide says: [T]here is only one way to make the system go into the suspend-to-RAM state (write deep into /sys/...
2
votes
0answers
75 views

How to disable the integrated intel gpu?

I am operating a headless server and like to disable the integrated intel hd gpu in the systems Intel Core i5-7400T CPU to reduce power consumption. I cannot disable the GPU via BIOS, there is only ...
1
vote
0answers
517 views

How to disable keyboard lights and underglow lights in Asus ROG Strix, G531GT with Linux Mint OS?

I am using a new laptop, Asus ROG Strix, G531GT-AL041T, G Core i7 9th Gen, and running Linux Mint 19.2 Tina on it. I am unable to find any option that could disable the keyboard lights and in ...
0
votes
1answer
85 views

Unable to set power tuning parameters at boot time from systemd

I'm using Fedora 30 on a laptop. I've tried setting power tune parameters using the systemd service that comes with powertop (powertop.service) and that didn't work. I then tried creating a shell ...
1
vote
1answer
328 views

Hard drive waking from sleep for no apparent reason

I have a SATA docking station (actually part of my PC case) and use it frequently. One of my SATA disks is a WD Caviar SE16 WD2500, a 250GB 7200 RPM SATA3 hard drive. The docking station is connected ...
0
votes
2answers
108 views

Is it possible to control these temperature?

As far as I know, it's not possible to enable fancontrol service or something like that for some HP Laptops, I'm using one such piece. While rendering a 6 min long clip in kdenlive, sensors readings ...
0
votes
0answers
121 views

Can't resume after suspension/hibernation/display off that xfce power manager performs automatically

I'm having trouble resuming from both suspension and hibernation that the xfce power manager performs automatically. I mean, for instance, I set up my pc to hibernate when the battery reaches the ...
2
votes
0answers
91 views

lightdm-greeter: disabling hibernation

On my Debian/testing systems I'd like to disable just the hibernation command from the graphical login, it should be possible to suspend the system only after logging in. I am using lightdm as a ...
0
votes
0answers
120 views

Linux Mint Huawei Matebook X Pro will not sleep sometimes

I have a Huawei Matebook X Pro on which I run Linux Mint 19. It runs fine but I find that sometimes (like 1 out of 15 times) when the lid is closed (yes I have lid closure settings set as I think I ...
0
votes
0answers
140 views

powercfg.exe in Linux

Could someone translate these commands for linux? powercfg.exe /setACvalueindex OVERLAY_SCHEME_MAX SUB_PROCESSOR PERFEPP 0 powercfg.exe /setACvalueindex SCHEME_BALANCED SUB_PROCESSOR PERFEPP 33 ...
1
vote
1answer
63 views

Is there a better way than this to force monitor blank/off?

Intending to switch off the display/monitor/screen instantly (and only be reenabled upon keypress) I resort to this solution: a /bin/blankvt script: #!/bin/sh echo 1 > /sys/devices/pci0000:00/...
3
votes
3answers
7k views

Debian 10 — adjust sleep settings via command line

I have a machine that I access only via SSH that I just updated to Debian 10 a couple of days ago. Since the update it seems to be going to sleep when it is inactive. This has never happened with ...
1
vote
1answer
112 views

Debian dmesg thinkpad_acpi: EC reports that Thermal Table has changed

I'm using Debian 9(stretch) with kernel Linux 4.9.0-8-amd64 on a Thinkpad T440p. I keep receiving logs by the second from dmesg about one particular issue I seem to not find a solution to on the Web. ...
1
vote
0answers
42 views

Custom function to the power button (ubuntu 16.04)?

I develop a software, which is going to be run in the kiosk mode on ubuntu 16.04. For some reasons, the computer will not be shutdown very often, so I'd like to allow for restarting only the ...

1
2 3 4 5
9