You are not logged in.
Hello all! I've been having a problem for a while on my Acer Nitro laptop where once a week I'll unplug the cable when the laptop shows 100% battery charge and after unplugging it it'll keep showing 100% and say it's charging when it's not. Both checking with upower and checking the BAT1 file where my battery information shows 100% and charging. I've tried to debug it and try to figure out what the problem is but it happens quite rarely I haven't figured anything out. Can anyone tell me what I should check and what commands/logs I should check to figure out what's wrong once it happens again? I've seen somewhere that it could be caused by the integrated GPU conflicting with the discrete GPU on boot and If i recall correctly it started happening after loading nvidia drm on boot for my discrete nvidia GPU
Last edited by out1312 (2025-04-09 16:19:53)
Offline
What tool are you using to determine battery state?
Whatever it is, what does:
cat cat /sys/class/power_supply/BAT0/ueventreport?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I'm just using upower. Not sure if you wanted the command now when I don't have the error or when it actually triggers, but I posted it here anyways.
cat /sys/class/power_supply/BAT1/uevent output:
DEVTYPE=power_supply
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=58
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15400000
POWER_SUPPLY_VOLTAGE_NOW=17224000
POWER_SUPPLY_CURRENT_NOW=467000
POWER_SUPPLY_CHARGE_FULL_DESIGN=3733000
POWER_SUPPLY_CHARGE_FULL=3421000
POWER_SUPPLY_CHARGE_NOW=3223000
POWER_SUPPLY_CAPACITY=94
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=AP21D8M
POWER_SUPPLY_MANUFACTURER=LGC
POWER_SUPPLY_SERIAL_NUMBER=30414Offline
That battery looks pretty good. Is it supposed to be charging now? If it is, unplug it and see if the state changes. If not, I guess we dig deeper ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yeah it's supposed to be charging and it's displaying it correctly, unplugging now gives me the expected correct output:
DEVTYPE=power_supply
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=58
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15400000
POWER_SUPPLY_VOLTAGE_NOW=17042000
POWER_SUPPLY_CURRENT_NOW=731000
POWER_SUPPLY_CHARGE_FULL_DESIGN=3733000
POWER_SUPPLY_CHARGE_FULL=3421000
POWER_SUPPLY_CHARGE_NOW=3308000
POWER_SUPPLY_CAPACITY=96
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=AP21D8M
POWER_SUPPLY_MANUFACTURER=LGC
POWER_SUPPLY_SERIAL_NUMBER=30414Offline
I also forgot to mention that when this error happens, plugging the cable in and then unplugging it actually just fixes it
Offline