Questions tagged [battery]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
-1
votes
0answers
13 views

PowerTOP reports high CPU consumption

I am facing some Power Consumption issues on my new laptop(Dell Precision 5550) running Fedora 33. I've installed TLP, Powertop, Htop (but still issues). Checking PowerTOP I can see that it seems like ...
0
votes
0answers
18 views

Debian battery jumps from 30 to 0

While my laptop is on the battery and reaches 30% (sometimes 32 or 36), it jumps to zero and shuts down after 1 minute. and as i plug in the AC adapter, it shows 30 again. even once on Ac it jumped ...
0
votes
1answer
22 views

How is battery percentage calculated in Debian with i3?

I have written a bash script to alert me whenever the battery percentage gets lower than some predefined threshold. However I've realized than the battery percentage that I compute is different (~6% ...
0
votes
0answers
16 views

battery LED indicator not working for ubuntu

I have dell inspiron 7572. The LED indicator for battery status glows white while plugged in charging and glows yellow on low battery(10%) in windows. Recently, i shifted to ubuntu and the LED ...
0
votes
2answers
31 views

Where can I find info about specific file(s) on the system?

I was building a simple battery level monitor (in bash) for my personal i3blocks implementation. It's quite obvious that the info I need is available in files in the /sys/class/power_supply/BAT0 ...
0
votes
0answers
11 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
1answer
62 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
125 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
2answers
142 views

How do I fix the issue of delayed detection of charging in Plasma5?

I have the latest Pop!_OS 20.04. I recently I installed KDE Plasma on my machine. The only thing that has been annoying me is once my battery gets low, and I plug in my charger, KDE takes almost half ...
0
votes
0answers
33 views

Ubuntu slow boot up andconsuming power

I recently installed Ubuntu 20.04 on my Asus Rog which is having NVIDIA graphics driver via dual boot. My Ubuntu boot up is very slow. From what I have heard, Ubuntu doesn't take up much time booting ...
0
votes
0answers
27 views

Random shutdown, logs empty

This is about Pop_OS, the Ubuntu fork, but since there is no askpopos and the reddit has more questions than answers, here goes: I installed the system two weeks ago and it has been running smooth, ...
2
votes
2answers
252 views

Horrible performance on battery with intel_pstate driver

EDIT: Ubuntu (mate) 20.04, intel_pstate driver. Computer is I am using a razer blade stealth ultrabook (early 2019), with intel core i7 i7-8565U. I am encountering odd behavior (extreme slowdown) ...
1
vote
1answer
48 views

how to express a range of numbers (11%-20%) in a battery notification script

I'd like to have a script that notifies me when my battery is at or above 90%, at or below 20%, and at or below 10%. I cobbled together the following, substituting zenity for notify-send so that I ...
0
votes
0answers
111 views

Ubuntu 18.04 laptop battery not detected

I have installed Ubuntu 18.04 on the SD Card of my surface pro but the battery indicator does not show. What I've tried from browsing online: 1. I've installed gnome tweaks and selected battery ...
0
votes
1answer
64 views

Why doesn't inotifywait report modifications made to battery capacity file?

I want to know when my battery charge changes, and I don't want to simply run a daemon that checks on it every five seconds. I've tried running inotifywait -m /sys/class/power_supply/BAT1/capacity, ...
1
vote
0answers
26 views

KDE Neon ThinkPad X1 Yoga Gen 4, black screen with cursor on resume from suspend on battery

I am running KDE Neon on my ThinkPad X1 Yoga Gen 4. Whenever I resume from sleep/suspend, UNLESS it is plugged in on AC, it only resumes to a black screen with a cursor, and nothing else. I have ...
2
votes
0answers
87 views

Battery won't charge when ON, Arch Linux

I run Arch Linux 5.5.13 on my laptop. A year ago, I changed the original battery for a new one (maybe not the official one). It has been some time that I have the same problem. Charging the battery ...
1
vote
1answer
204 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
32 views

Kubuntu crashes when running on battery

I recently bought a new HP Pavillion laptop (AMD Ryzen 5 processor, Radeon Vega Mobile graphics, and 12GB of RAM) and installed Kubuntu 18.04 alongside Windows 10. Ubuntu runs perfectly fine when the ...
0
votes
1answer
106 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?
1
vote
2answers
72 views

Increasing battery life on Linux

I got myself a new laptop, which is pretty powerful, but the battery life is horrible on both Windows and Linux. I was wondering if there is a way to increase battery life on Linux. I already tried ...
0
votes
0answers
28 views

External HDD spinning even when laptop lid is closed

I am having a 160GB SATA HDD in which I have installed Kali-Linux, last night I just closed the lid of the laptop considering that will continue my work tomorrow from here but in the morning I noticed ...
1
vote
0answers
198 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 ...
1
vote
1answer
231 views

How does “acpi” or “upower” decide the battery percentage?

Correction Notice I'm sorry to bring this issue up based on a misremembering the cell count in series. There were not 4 cells in series, but 3 cells. Silly me. For 3 cells in series, the maximum ...
0
votes
0answers
22 views

Battery icon not showing AND keyboard stopped working

My battery icon is not showing, and my laptop keyboard has stopped working after I updated. The boot takes longer than normal as well. I am running Ubuntu 18.04 and my upower -d output is: Device: /...
1
vote
0answers
272 views

How to calculate power consumption from battery stats

I set up the arch linux on my new msi prestige ps42 laptop. To my disappointment, the battery life pretty much quickly deteriorated. After first 2 months of usage, the battery could supply the laptop ...
0
votes
0answers
117 views

ASUS N552VW battery level stuck, not charging

Laptop Asus model N552VW. Ubuntu 19.10. The laptop works from AC for all 3 years of its usage (the battery is not unpluggable easily, so it stayed all the time). Problems Sometimes the battery level ...
0
votes
0answers
21 views

I do not have battery and charger. How to test battery icons in the panel, using the battery percent and charging status in the terminal?

I have redesigned the battery icons and want to test them, using the battery percent and charging status in the panel, in the terminal. How? I tried to apply these questions: LXDE: change battery ...
1
vote
0answers
67 views

Newly swapped debian laptop has working battery, but loses power when unplugged from ac adapter

I recently installed Debian Bullseye on my Thinkpad T430, and everything works great except for the battery. When the AC adapter is unplugged, the computer loses power. the battery works fine when put ...
1
vote
2answers
141 views

Lenovo laptop battery only charges to 68.1% capacity?

I have a Lenovo Z50-75 which supports battery charge limiting. Before I installed Linux, I had my battery set in conservation mode. I don't know if that had any effect on the matter but my battery ...
0
votes
1answer
161 views

Linux Mint: lower screen brightness on low battery

I'd like to make screen brightness lower on low battery. There's no such options in power settings. Alternatively, I may set the system to shut down in such situation, but that's undesired. Is there ...
2
votes
1answer
200 views

How to disable GPU without bbswitch

BBswitch is apparently dead with the last commit being 5 years ago and it no longer works with more modern kernels. During shutdown, it just hangs the system. Nouveau doesn't support power management ...
1
vote
1answer
461 views

X1 Carbon Battery drains on suspend

I typically suspend my laptop between sessions to save battery without powering off fully. I have a new 2019 Lenovo X1 Carbon, running Manjaro Linux 5.2.0-1 and when I suspend my machine with ...
1
vote
1answer
44 views

Find a power_supply of type

My kernel driver needs to access battery's properties (get_property, set_property). Problem: How to find the battery's struct power_supply? I only find power_supply_get_by_name but there can be ...
1
vote
0answers
299 views

Switch to second (build in) laptop battery if capacity is under 20%?

I got my new Lenovo T480 laptop which has two batteries: one internal and one external. The used Linux is Arch Linux. If I use the battery the behavior is that the first battery is used down to 5% ...
0
votes
1answer
261 views

AC power connection not recognized, but battery doesn't drain

Just bought a new laptop acer predator helios 500 with AMD Ryzen CPU. Installed linux with a recent kernel (4.19) and it seems it’s not able to detect when the power cable is connected to the laptop. ...
0
votes
0answers
26 views

LM 19 x64 shuts down unexpectedly just before lightdm or cinnamon starts up, because I installed a new battery

LM 19 x64 shuts down unexpectedly just before lightdm or cinnamon starts up. This happens after installing a new battery for my laptop (DELL Precision M4700), and I had to keep the AC adapter plugged ...
0
votes
0answers
109 views

Tool to alert user that laptop has low battery

I am using debian(9.8 (stretch)) with cinnamon(3.2.7-4) interface and have problem with my battery. When battery is low I have no alert about that. Laptop just turns off unexpectedly (I can turn it on ...
0
votes
1answer
810 views

How do I set battery charging threshold in linux on non Thinkpad laptop? [closed]

I know that charging battery near 100% is bad. However, a charging threshold can be set by using tp_smapi or tlp. Unfortunately, this package is only for Thinkpad. How can I set this for a non-...
1
vote
0answers
1k views

Limit an MSI laptop battery charging to 80%

How can I limit battery charging to 80% capacity? Above thread provides several solutions for ThinkPad laptops. Mine is an MSI GF72 8RE-032. The Windows 10 drivers&utility pack seems to provide ...
0
votes
1answer
771 views

Switch batteries in Thinkpad before performing a deep discharge [duplicate]

I'm currently looking for a possibility to stop my T480 from deep discharging my external battery, before switching to the internal battery. It should switch to the internal battery at a percentage of ...
1
vote
1answer
111 views

Battery alarm command is not working in LXDE?

I am using lxde desktop for my ubuntu 14.04. I have used synaptic package manager to uninstall some old files of qemu. But after that, I realize that some packages are removed from ubuntu eg: python ...
2
votes
1answer
94 views

Prevent battery drain from constant write IO churn by browsers

For some reason, common browsers (Chromium is particularly bad, but Firefox isn't much better) generate constant IO load, particularly writes, on my Debian system. This is the case even when the ...
2
votes
0answers
707 views

KVM Windows guest battery

I've installed KVM on a laptop with Debian 9. The guest is the latest Windows 10 (1803) with all updates and VirtIO drivers installed. The issue is : Windows doesn't know he's on a laptop. Then, I ...
2
votes
1answer
391 views

Checking battery level when ACPI has problems

I am running Debian Buster (testing) / Sid on an Iball Excelance laptop (an Indian company). I initially had problems with the laptop trying to suspend and then freezing immediately after finishing ...
0
votes
1answer
1k views

Command to get details on charge and time remaining for two batteries

I have a laptop with two batteries. I would like to get combined details on the two batteries. In particular, I'd like the time remaining before both batteries run out of charge and the percentage ...
4
votes
2answers
2k views

How to force a Thinkpad to draw charge from internal vs external battery?

My T450s Thinkpad has two built-in batteries--one hot-swappable and one inside the laptop. Lenovo calls the former "external" and the latter "internal". When not plugged in, the external battery ...
3
votes
1answer
8k views

See battery percentage on the panel in Plasma 5.8

It seems Plasma 5.8 cannot display battery percentage in the panel, as explained here. I have found a solution and I am posting this in order to provide an answer.
0
votes
1answer
256 views

Disable battery

I installed linux manjaro on Lenovo Miix 320 (Atom x5 z8350) and got mostof it to work except for the battery indicator. It shows 100% all the time, but that is not the problem. The problem is when I ...
1
vote
0answers
705 views

Gnome Low/Critical Battery Notification

Base System: Debian 9 64-bit | Gnome 3.22.2 By default I get low and critical battery notification banners that remain in the notification tray until I click on them. However neither of these (or any ...