Questions tagged [power-management]

Questions related to power management, particularly power saving measures.

Filter by
Sorted by
Tagged with
3 votes
1 answer
5k views

Permanently disable WiFi power management in Ubuntu Server 18.04

I have a small server set up that is connected to the network over wireless. I was able to configure wireless by installing wpa_supplicant and adding the required lines to netplan. I've been having ...
1 vote
3 answers
635 views

Ubuntu 18.04 Battery issue

I am having Acer machine currently installed Ubuntu 18.04. After I fully charge battery it works fine till around 45 - 50 % but after that it suddenly drops down to 1 - 2 % and notification popups of ...
1 vote
0 answers
848 views

Laptop heating problems when on sleep

It seems like my laptop seems to heats up whenever it goes to sleep as the fan is not running. I'm aware that some components are still running while on sleep, and I'm almost certain that my GPU is ...
0 votes
1 answer
1k views

Apcupsd startup issues

I am having trouble getting apcupsd to start up properly. When I put </etc/init.d/apcupsd start> in the GNOME startup application, apcupsd starts, but apcaccess status shows COMMLOST on the USB ...
2 votes
0 answers
55 views

Sharing xorg or power configuration between the login/lock screen and my shell

I have a recent ThinkPad X1 Extreme with switchable NVidia and Intel graphics. As a former macOS user, I am used to keeping my machine in clamshell mode while working from my desk — closing the lid ...
1 vote
1 answer
2k views

Battery information is wrong

I have replaced the battery in my laptop with a lower capacity battery than what was previously inserted. Ubuntu hasn't calibrated the battery metering system, and so the statistics & percentages ...
2 votes
0 answers
2k views

Waking up from Suspend/Hibernate issue with Macbook Air

Machine: Macbook Air Late 2015 Ubuntu 18.04 Problem Situation: Laptop lid is left closed for quite some time (at least an hour or so). Open the lid, press power button or keyboard. Nothing happens. ...
2 votes
0 answers
144 views

How do I get my laptop to wakeup only by power button with delay on Liquorix kernel?

Lubuntu 4.15.0-55-generic on Dell Venue can be easily configured to wakeup only by power button. And it should be pressed during 4 s. This prevents sudden wakeups in a bag. After upgrading to 5.2.0-8....
0 votes
1 answer
81 views

Only auto-shutown if PC is not working/training AI

Is there a way to configure auto shutdown only when the PC is not doing any work (inactive and not training)? I am using TensorFlow. The system should shut down when it is neither training nor being ...
5 votes
1 answer
1k views

Poor battery life and performance due to incorrect CPU frequency scaling

lscpu shows a minimum CPU speed of 1600MHz, rather than 400MHz as the actual minimum. This is absolutely killing my battery life (I get about 2-3 hours rather than the 8-10 I get under Windows on the ...
1 vote
2 answers
227 views

Automatically dim brightness if battery is low (command fail)

I was trying to apply these instructions on how to automatically dim brightness when battery is low, but in the answer, this command didn't work with me > percent_left=$((100 * `cat /sys/class/...
3 votes
1 answer
881 views

When I close the lid of my HP Zbook v15 the screen goes off but the laptop doesn't suspend/hibernate!

I am working with a HP Zbook 15 Workstation with Ubuntu 18.04 installed. When I close my laptop lid the screen goes black but doesn't suspend. When I open it again I don't have to login or anything. ...
23 votes
2 answers
16k views

Logs of Ubuntu going into Sleep and waking up?

I need to know about the times the Ubuntu (14/16) went to sleep or woke up. are these logs kept somewhere? thanks
2 votes
0 answers
657 views

Screen goes black every few seconds on Ubuntu 18.04

I recently installed Ubuntu 18.04 on my notebook and I have the following problem: My screen goes black every few seconds and when I hit a key on the keyboard in comes back. It is really annoying as I ...
0 votes
3 answers
800 views

Short battery X1C6 Ubuntu 18.04

I have a new Lenovo x1c6 which is reported to have 12+ hours battery life by some users. Mine drains after 4-5 hours, which is roughly the same time I got on my previous 2 y/o $800 Acer laptop with ...
0 votes
0 answers
73 views

Ubuntu 19.04 power management: deactivating screens on inactivity

Since upgrading to Ubuntu 19.04 (wm=i3, not gnome desktop), when my machine is idle for long enough the screens blank and neither the keyboard nor the mouse will awaken them. Up until that time, the ...
0 votes
0 answers
688 views

Suspend mode - power light not blinking/flashing any more - Ubuntu 19.04

Up until a few weeks ago, when I entered Suspend mode (pressing power button, selecting it from the power button dropdown or automatic suspension), the power button on my tower would do a slow blink (...
7 votes
1 answer
3k views

How do I enable power management on Ubuntu Server?

I have Ubuntu Server 11.04 installed on an old noisy laptop. Its only purpose is to run subversion and I commit code quite rarely, but the laptop should work all the time. So I would like to know how ...
3 votes
0 answers
1k views

No low battery notification appears before premature low battery shutdown on Ubuntu 18.04

I was getting low battery notifications earlier when I installed initially, but it seems to broken now, my laptop (Asus) shuts down without any warning at 20% remaining battery. I tried sudo apt-get ...
2 votes
2 answers
4k views

System hangs when plugging in or unplugging charger

When I plug-in or unplug my charger on my MSI PE607Rd, Ubuntu freezes. How should I proceed?
1 vote
1 answer
397 views

TLP trouble with udev events. Ubuntu 19.04

My installation of TLP on Ubuntu 19.04 does not automatically change status when charging status changes. Output from sudo tlp-stat -s --- TLP 1.1 ------------------------------------------...
16 votes
3 answers
23k views

How to disable sleep/suspend at login screen?

I've been at trying to do this for the last several hours with no progress. I'm running Ubuntu 16.04 and I want to disable the sleep/suspend at the login screen (before logging in with any user) so ...
11 votes
3 answers
4k views

Ubuntu 18.04 - Dell XPS15 9570 - Impossible to reliably suspend/hibernate

Sadly I decided to upgrade to 18.04. Now I pass half of my work hours fixing bugs. Today specialty is: suspend the laptop. Last time I tried to suspend my XPS15 9570 I almost burned up my new 2000$ ...
1 vote
0 answers
19 views

Screen used to fade to black and allowed for automatic wake up by touching mousepad; now it just suspends (Ubuntu 16.04)

I have Ubuntu 16.04 on my laptop, and if I wasn't using it, the display would after a while slowly dim to black. If I touched the mouse pad, the display would immediately come back on. Now, for some ...
0 votes
0 answers
118 views

No battery indicator on Ubuntu 18.04

I seem to have lost my battery indicator. Purging and reinstalling battery-indicator hasn't helped. I see suggestions of a UEFI update fixing this, but it seems highly unlikely that this can only be ...
1 vote
1 answer
1k views

execute script on low UPS power

I have attached my UPS to ubuntu and it's recognised. However I don't like the options that I see in ubuntu power settings. I have another PC also attached to same UPS. So I want ubuntu desktop to ...
4 votes
1 answer
1k views

High power consumption from network driver Atheros Communications

I am running Ubuntu 16.04 on a Dell XPS 15 9560. Kernel: Linux XPS 4.9.10-040910-generic #201702141931 SMP Wed Feb 15 00:33:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux In powertop it shows that two ...
1 vote
1 answer
158 views

suspend works but only for a second before exiting back to the desktop

Suspend works but only for a second before exiting back to the desktop. I'm using an HP ZBook 15 G2 with Ubuntu 18.04.2 installed. Ubuntu is installed on a SSD partition while the swap disk is on a ...
2 votes
0 answers
414 views

Xubuntu 19.04: xfc4-power-manager can not hibernate on XPS 9570

my laptop can not hibernate (anymore). I do not know what I changed so that is not working but I am pretty sure that this worked in the past. I am using Xubuntu 19.04 on a Dell XPS 9570 and also the ...
2 votes
0 answers
1k views

Battery drains even while laptop lid closed (Ubuntu 19.04 & Thinkpad X1 Carbon 6th gen)

Any other thinkpad x1 carbon users on ubuntu 19.04 notice that the battery still drains even while the laptop lid is closed & suspended? I updated from 18.10 to 19.04 about two weeks ago, and ...
0 votes
1 answer
164 views

How to fix zero brightness on lightdm login screen and other xfce power manager issues

My Apple PowerBook G4 running Ubuntu 16.04 powerpc with XFCE4 desktop is now booting into a completely dark screen where I can only just see to put in my password. Also when the room gets a bit dark, ...
3 votes
1 answer
746 views

Another question about Hibernate in 18.04 (not a duplicate)

I have a fresh install of 18.04 on a brand-new high-end laptop. Hibernate works using sudo pm-hibernate By "works" I mean that it saves the system to disk, and powers down. Upon reboot, the session ...
103 votes
9 answers
205k views

How do I modify the options for the power button?

When I press the power button a dialog opens, but I want to shutdown the system without receiving "Do you really really want to shutdown?". How can I choose a direct shutdown action on a pressed power ...
3 votes
0 answers
132 views

Suspend and power off are not reliable - Ubuntu 18.04.01 on Lenovo G70-80

I am experiencing problems with suspend and power-off after upgrading from Ubuntu 16.04 LTS to Ubuntu 18.04.01 LTS. I have tried multiple fixes, including: Installing pm-utils Testing several ...
0 votes
0 answers
549 views

Ubuntu 19.04 freezes after suspending, only unfreezes after subsequently closing the lid

My laptop is running Ubuntu 19.04. When I'm waking it up after it got suspended, it often freezes - I can't move the mouse pointer and typing on the keyboard (Esc or Enter) results in nothing. Only ...
3 votes
2 answers
9k views

[TLP]-error: "tp-smapi = inactive (kernel module 'tp_smapi' not installed)" on thinkpad t460s

when I ask tlp for my battery status via sudo tlp stat -b I get the following status: +++ ThinkPad Extended Battery Functions tp-smapi = inactive (kernel module 'tp_smapi' not installed) tpacpi-...
0 votes
2 answers
890 views

Laptop battery critically low cannot remove notification [duplicate]

I installed and used Linux for the first time - Ubuntu 18.04.01 LTS. My laptop's battery is almost dead sitting on 0% and the notification keeps popping every 5 minutes. Is there any way to disable ...
4 votes
1 answer
680 views

Disable battery critically low message Gnome 3

My battery is dead ad very hard to replace (ASUS ROG G751), so I am wondering how to turn off the "Laptop battery critically low" notification. I am running Ubuntu 16.04 and Gnome 3. Thanks!
11 votes
1 answer
3k views

Using multiple desktop environments

Can I install extra desktop environments without affecting my current environment? I'm asking because I got mixed messages saying that it is no problem as well as those that say that the universe ...
0 votes
4 answers
3k views

Battery Not charging fully on Sony Vaio

I recently purchased a new battery for my Sony Vaio VPCEH25EN running Ubuntu 15.04, and I noticed that it only charges to 40%. When I checked the power statistics I noticed the following - Percentage ...
1 vote
0 answers
403 views

Battery always shows Estimating on Ubuntu 19.04

Been using Ubuntu for over a year now had no issues, Since a few days my battery status is bit weird. It always shows me 100% and when I plugin charging it shows Estimating and it remains like this ...
2 votes
0 answers
54 views

Automatically sleep when all users (ssh or GUI) are logged out?

I've got an Ubuntu 19.04 desktop that I sometimes use as a physical workstation, and sometimes log into using ssh or NoMachine. In order to save power, I'm wondering if there's a way to make the ...
1 vote
0 answers
54 views

18.04 suspends only after logging back in

When my XPS 13 9380 is plugged into my WD15 dock, clicking the suspend button just takes me to the lock screen. Then when I enter my password the screen goes black and the system suspends. This issue ...
1 vote
0 answers
476 views

How to install and use Powerdevil on Ubuntu 18.04

I'm quite new to Ubuntu so sorry if there is something obvious I have been missing. The thing is, I have a laptop and thus want to use power saving options. However, in GNOME, as far as I can tell, I ...
0 votes
1 answer
226 views

Is there a way of logging when wifi power management settings are changed?

I have a Rock960 board running Ubuntu server. It suffers from a "bug" where SSH is extremely laggy because WiFi power management is turned on. I've tried various solutions to permanently disable it: ...
1 vote
1 answer
1k views

how to set up hibernate in ubuntu 18.04?

I'm trying to set up hibernate in Ubuntu 18.4, however it's not working. First of all I'm checking the swap according to the guide : root@athos-ThinkPad-T460p:~# cat /proc/swaps Filename ...
2 votes
1 answer
3k views

Powersave on 16.04

I have Asus tp500lb, it comes with core i5 5200U, nvidia 940m, 8GB ram, 1TB disk and 24GB SSD and so on - system is instaled on SSD. It has preinstalled windows, actually windows 10. In this ...
1 vote
0 answers
34 views

Secondary monitor does not wake up from standby after screen was locked

OS: Ubuntu 18.04 LTS Desktop, x64, dual 4K monitor, GeForce GTX 960. When locking the screen, the monitors enter standby mode in about a minute after lock. When unlocking the screen, only one monitor ...
1 vote
0 answers
138 views

2012 11" MacBook Air automatically turns on when power cable attached

I installed Ubuntu 18.04 on a 2012 11" MacBook Air and enabled disk encryption. When I turn off the machine, I wait for the disk to encrypt and the machine to power off. Then I close the lid. In ...
1 vote
1 answer
564 views

TLP can't find my battery

I am running Ubuntu 18.04.2 LTS on Surface 3. For some reason TLP can't see my laptop battery... $ sudo tlp-stat -b --- TLP 1.1 -------------------------------------------- +++ Battery Status No ...

1
21 22
23
24 25
57