Questions tagged [battery]
Questions about battery usage and issues in Ubuntu.
1,624
questions
1
vote
0
answers
351
views
The battery drains when the laptop is turned off
When I turn off my laptop using the terminal with the command sudo poweroff -f there are no battery discharge issues. When I turn off my laptop using GUI the laptop battery continues to drain.
HP ...
0
votes
0
answers
109
views
battery not showing on laptop
Hello i have a problem where i cant find my laptop battery anywhere in the system. I looked for a lot of fixes but at the end i have a problem where acpi and upower doesn't give any output. My laptop ...
1
vote
0
answers
298
views
TLP Charge Threshold Configuration on Lenovo IdeaPad
Kubuntu 23.04
Lenovo IdeaPad (not ThinkPad) 3 15ALC6
Hey, I'm trying to configure TLP to start charging when the battery reaches 50% and stop when it reaches 80%. I just want to make sure I'm doing ...
0
votes
0
answers
67
views
Which package or packages are needed to charge a laptop battery?
I have an Ubuntu 22.04 system on an HP 17 laptop. When the laptop is plugged into the charger, it does not charge (nor does it discharge). When I mouse over the battery indicator in the system tray, ...
0
votes
0
answers
204
views
Hibernation not working and excessive battery drain on suspend on Ubuntu 22.04 with DELL XPS 15
I recently installed Ubuntu 22.04 on my DELL XPS 15, and I'm facing two related issues: hibernation doesn't work, and the suspend feature drains a significant amount of battery power. I would ...
2
votes
1
answer
319
views
How do I disable my laptop battery?
I got a look at my laptop battery when it was opened for service and it was dangerously swollen. I didn't know the reason for the crack near my touch pad until I saw the battery. I don't want to ...
1
vote
1
answer
647
views
When the Ubuntu laptop is turned off, the battery drains
When I turn off Ubuntu, the laptop battery continues to drain. I didn't have this issue when I had Windows installed. The problem arose when I installed Ubuntu. I've tried various troubleshooting ...
0
votes
1
answer
91
views
Ubuntu 22.04 laptop sudden shutdown after full charge
So I recently removed windows 11 and installed ubuntu 22.04 on my laptop (lenovo ideapad flex 5 with amd ryzen 7) after i had sudden shutdown issues even though battery was full at times. Now this ...
1
vote
0
answers
126
views
Battery problem not charging but detected charger(pending-charge state)
I am using ubuntu 22.04 LTS. Battery charging percentage is showing 21% still when I am connecting with charger it is not showing charging instead of that it's showing not charging. Here is the output ...
1
vote
1
answer
204
views
Lenovo ThinkPad X1 - Ubuntu 22.04 LTS - Battery not charging
I have a Lenovo ThinkPad X1 with Ubuntu 22.04. Battery is not charging.
upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
power supply: yes
updated: ...
0
votes
1
answer
166
views
Battery drain in Dell 5420 Ubuntu 20.04
I am using a Dell Latitude 5420 laptop with ubuntu 20.04 for a year. The battery drains out in around an hour or so. Most of the time I have to restart the laptop because power runs out very quickly. ...
0
votes
0
answers
59
views
Device turns off when not plugged in?
The Laptop only turns on when plugged in,
always shows 0% and turns off when I pull out the power plug. No matter how much time I charge, It always shows 0%.
It shows "Estimating..." instead ...
0
votes
1
answer
211
views
Manually block sleep and screen locking - Suspend Problem
On Kubuntu 22.04
In the Battery and Brightness settings in the taskbar I have the following options and wonder what is the purpose:
(unticked): “Manually block sleep and screen locking.”
“Activity ...
0
votes
0
answers
246
views
Laptop battery toggles between not charging (0%) and fully charged (100%)
I'm using a Lenovo ThinkPad W520 and Ubuntu 22.04. By mistake it got to 0% and now it shuts down whenever the charger is plugged off, thus I can only work with it plugged in. In addition, the battery ...
1
vote
0
answers
365
views
Battery drain when lid closed. Two lenovo thinkpads, nearly identical. One is fine the other not. How to diff/debug?
These are both Thinkpad Carbon X1 nearly identical. I've changed the BIOS, done some grub twiddle etc.
cat /sys/power/mem_sleep
[s2idle] deep
This should be correct I think?
The thing is I have ...
1
vote
0
answers
83
views
Ubuntu device battery update causing laptop to not charge
Have a thinkpad P15 running ubuntu 22.04. I recently selected an update provided in the ubuntu software for a battery update.
Now the battery won’t charge. On restart it now reads the “The connected ...
0
votes
1
answer
546
views
charge_control_end_threshold not writable
I was trying to put a charging threshold on my laptop (Huawei matebook 13), this functionality works on windows and worked on my previous linux install (Ubuntu 22.04 LTS).
I tried doing the same stuff ...
0
votes
0
answers
20
views
I want to turn off "Blutooth" HP-EliteBook-Folio-9480m TO save power consume
When I give this command sudo service bluetooth status, it gives this output:
[sudo] password for v:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service;...
0
votes
2
answers
500
views
Ubuntu 22.04, “battery plugged in” icon suddenly disappeared
Newbie here.
I’m running up to date Ubuntu 22.04 ext4 Gnome Wayland on a MSI Bravo 15 AMD Ryzen 7 4800H laptop. Earlier today the little “battery plugged in” icon suddenly disappeared from my little ...
1
vote
1
answer
533
views
upower battery with pending-change and won't start charging
I have installed Ubuntu (version 23.04) last week on my laptop (Dell Inspiron N5010), and since then my battery isn't charging.
Previously on Windows it did recognize and charged the battery.
When I ...
2
votes
1
answer
2k
views
Battery charging status not showing
I've just installed Ubuntu 22.04.2 LTS which was working fine but after the update the charging status is not showing.
The battery status shows Not Charging though its connected and charging. The ...
0
votes
0
answers
144
views
Hp Zbook 15 g3 laptop ubuntu 22.04.2 Battery not charging
I have a problem changing my laptop (hp zbook 15 g3) on ubuntu
When the battery reach 95% or sometimes between (91%/97%) the battery stops charging and says (not charging)
I also tried pop os and i ...
4
votes
1
answer
126
views
On 22.04, laptop screen dims to 0 when unplugging power cable. With my old eyes, I can't see the screen to increase brightness again
Searched for answers, and there were very old posts that gave solutions that haven't worked now for many years. I'm using Ubuntu 22.04 on a Lenovo IdeaPad Flex 14-API.
When the screen dims to its ...
0
votes
0
answers
473
views
Ubuntu 22.04 LTS consuming high CPU and RAM on HP EliteBook x360 1040 G7
I am experiencing an issue with my HP EliteBook x360 1040 G7 that's running Ubuntu 22.04. For the past few days my PC has been consuming high amounts of CPU and RAM, causing it to overheat and display ...
2
votes
2
answers
4k
views
Quick Battery Drain in Suspend Mode
I am using Ubuntu 22.10 and my laptop is a Dell XPS 13 9365. When I check my suspend type by typing
cat /sys/power/mem_sleep
it returns
s2idle [deep]
which I believe should save the most power. ...
0
votes
1
answer
258
views
High CPU used and battery drain First tracker and now Isolate+. What is happening?
I have an HP Elitebook. Few weeks ago I started to hear the fan working often. Using top I noticed that "tracker" was using almost all of the CPU. I fixed with a solution someone posted here:...
0
votes
2
answers
178
views
Ubuntu thinks battery has no change, but windows detects it as fully charged
I have Windows and Ubuntu (20.04.6, kernel 5.4.0-144-generic) dual boot on an HP Spectre x360 laptop. A couple of months ago I replaced the battery with a non-official one as the old battery had lost ...
4
votes
2
answers
5k
views
Battery problems with Ubuntu 22.04.2 LTS
I am having little issue with battery or UI. I am having dual boot Windows/Ubuntu on my HP Elitebook. On UI it shows me that battery isn't charging but its on 98% for 5 hours now.
When I run: upower -...
1
vote
2
answers
720
views
Battery icon (and everything related to battery) missing, upower solutions not working
After a recent update (and more probable after trying a few battery Gnome extensions) I lost my battery icon in the tray and found that actually I have nothing related to my battery in settings, ...
0
votes
0
answers
315
views
Battery in ubuntu is draining very fast (Ubuntu 22.04.2 LTS x86_64 )
Some things I noticed and want to share with you before you see pictures :
The battery reports a discharge rate of 32.8 mW
In just 2 hrs battery decreased from 98% to 66%.
Not doing any heavy task ...
1
vote
0
answers
193
views
How can I get unattended-upgrades to work reliably on my laptops?
For months, I’ve been having issues with unattended-upgrades not running every day, or thereabouts, with logs often empty for a week or so, or with it not working at all.
I’ve amended the relevant ...
1
vote
1
answer
67
views
Using ERGO WO2-CRC9 USB Modem/Roater make my laptop very hot and power-consuming
I'm LUbuntu 22.04.2 LTS user. When I insert ERGO LTE USB Wi-Fi router WO2-CRC9, the laptop (HP Probook) stays very-very hot independently on the current load, the fan runs continuously, and the ...
1
vote
0
answers
31
views
22.10 Battery does not charge if laptop shut - but not suspended
I have a Dell Inspiron 13-7359. I have it set to remain on when the lid is shut (as it acts as my media server). I have it set on Balanced mode.
It is NOT suspended.
I can see that the battery is ...
7
votes
1
answer
5k
views
Entire battery drains even though `[s2idle] deep` is available in my "/sys/power/mem_sleep" file
After I suspend my laptop for ~10 hours, the laptop dies with the entire battery drained. I use "cat /sys/power/mem_sleep" to check the suspend mode and it returns "[s2idle] deep". ...
0
votes
0
answers
69
views
Wrong battery percentage on ubuntu causes shutdowns when cable is unplugged
Ubuntu version 22.04
My battery indicator shows that my laptop battery charged only for 4% and it happens very often, I have dual boot with windows 11 and in my opinion it happens when I'm restarting ...
0
votes
0
answers
162
views
Battery Drains on Suspend - Ubuntu 18.04 - ASUS Vivobook 15
The battery drains fully on suspension for Ubuntu 18.04 on my ASUS Vivobook 15. This is telling me that I'm not actually going into suspension. What am I missing?
One of the solutions suggested was to ...
0
votes
0
answers
270
views
Battery stuck at 0% and acpi showing last-full-capacity as negative
My Asus laptop is around 3.5 years old, and I have been using Ubuntu extensively until the hard drive got corrupted (bad sectors started increasing). You can refer Ubuntu 20.04 going into Read-only ...
1
vote
0
answers
399
views
Usb ports not recognized ubuntu 22.04
I have installed ubuntu 22.04 for a near time and it was working well but suddenly I face this problem my USB ports work when my device is charging perfectly but when I unplugged the charger the USB ...
2
votes
0
answers
470
views
Battery indicator icon showing charging even though not plugged in
Battery indicator showing as plugged in, although it is not. When I plug it in, it shows correctly. When I unplug it goes back to showing as plugged in but discharging.
See screen shots
This happens ...
0
votes
1
answer
178
views
Ubuntu MATE Battery percentage shows up in lightdm but not available after logging in
I am using Ubuntu MATE 22.04 in a laptop.
While the battery percentage shows up in the login screen (lightdm), after logging in, it only shows the estimated time remaining.
Login Screen
After ...
1
vote
1
answer
86
views
How to achieve MacBook-level battery life when asleep?
How to achieve a battery life similar to MacBook's when in sleep mode?
I'm using Dell XPS 9500 with Ubuntu 22.04, and whenever I put it into sleep mode, the battery drains to 0 overnight. With MacBook ...
0
votes
2
answers
3k
views
Thinkpad T480 Linux Battery performance
I recently bought a used Thinkpad T480. It has two batteries. New version of this laptop are supposed to have an 17-hour battery life. I don't expect Linux to necessarily match that, but even still I'...
1
vote
0
answers
122
views
Cursor/Touchpad lag while using Battery Power in Ubuntu 22.04.1 LTS
Long time reader, first time caller. I'm experiencing a cursor lag in Ubuntu 22.04 but only when plugged into battery power. Once unplugged, the cursor moves at the expected rate. Also of note is that ...
3
votes
2
answers
1k
views
Shutdown Computer if UPS Battery is Low 22.04
I have a UPS connected via USB and under Settings->Power I am able to see the UPS battery percentage, however there is no option for telling the computer what action to take if the UPS battery gets ...
0
votes
0
answers
45
views
How do I set up a battery pack to be treated like a laptop battery on a desktop motherboard?
As I understand it there is a serial interface in a laptop battery which communicates the battery state at intervals to the laptop's OS. I am setting up a desktop system with what amounts to a laptop-...
0
votes
1
answer
573
views
Graphics card and battery life on Dell XPS 17 9170
I have a Dell XPS 17 9170 for Linux, which has an advertised battery life of 8 hours. But the most I can get from it is 4 hours, while disabling unneeded apps/services and setting brightness to it's ...
1
vote
1
answer
598
views
Ubuntu 22.04 can't recognize and charge BAT0 of Lenovo Thinkpad T460s [closed]
Recently I ordered battery replacements for my Lenovo Thinkpad T460s which runs Ubuntu 22.04. While installing the batteries, Ubuntu had no issues recognizing the extra battery but didn't seem to ...
1
vote
1
answer
205
views
Run command at reboot
I would like to preserve the battery on my laptop by limiting how much it gets charged.
There is a file (/sys/devices/platform/lg-laptop/battery_care_limit) with a value of 100.
I can run command
echo ...
1
vote
0
answers
563
views
Battery Drain overnight with Ubuntu 22.04
I'm using AMD Asus ROG Zephyrus G15, Ryzen 9 5900HS, Nvidia GeForce RTX 3080 Mobile, 32GB RAM.
I'm working on my computer on Ubuntu 22.04 alongside Windows 11.
After I finish my job, if I don't turn ...
2
votes
1
answer
831
views
Intel 12 gen and Ubuntu 22.10 - abysmal battery life, any solution?
I have Lenovo T14 Gen 3 with Intel i7 1260p (no dedicated GPU, only intel one's) and running Ubuntu 22.10
The performance is great (laptop is faster than 2-3 years old desktop with the most powerful ...