<div dir="ltr">If I'm being too noisy in the void please let me know.<div><br></div><div>So I followed Kevin Locke's instructions on attempting battery calibration on 5.18:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">if charge thresholds are being used, clear them during recalibration:<br> echo 0 >/sys/class/power_supply/BAT0/charge_control_start_threshold<br> echo 100 >/sys/class/power_supply/BAT0/charge_control_end_threshold<br>echo force-discharge >/sys/class/power_supply/BAT0/charge_behaviour<br># Wait until battery is fully discharged<br># Wait until battery is fully recharged<br># Restore change thresholds as desired</blockquote><div><br></div><div>While monitoring upower -i, my machine sat at 0 Wh for about 10 minutes before it switched to a pending-charge state (USB PD was still plugged in). I think it sat in that state for a while longer before it switched to auto and began recharge. I've allowed it to recharge, and once it got up to "full" it started to flip again between fully-charged/charging every 2-5 seconds (and tossing up notification) while still displaying a white LED next to the charging port for fully charged. Here are two samples from upower:</div><div><br></div><div> state: fully-charged<br> warning-level: none<br> energy: 51.31 Wh<br> energy-empty: 0 Wh<br> energy-full: 53.09 Wh<br> energy-full-design: 57 Wh<br> energy-rate: 3.085 W<br> voltage: 12.988 V<br> charge-cycles: 14<br> percentage: 96%<br> capacity: 93.1404%<br><br> state: charging<br> warning-level: none<br> energy: 51.32 Wh<br> energy-empty: 0 Wh<br> energy-full: 53.09 Wh<br> energy-full-design: 57 Wh<br> energy-rate: 3.769 W<br> voltage: 12.909 V<br> charge-cycles: 14<br> time to full: 28.2 minutes<br> percentage: 96%<br> capacity: 93.1404%<br></div><div><br></div><div>I dumped "96" into /sys/class/power_supply/BAT0/charge_control_end_threshold and it's stopped flipping. But I thought this would tune 0%-96% to scale what my battery meter would display with 0%-100%, and not just stop charging at 96% displayed on the meter.</div><div><br></div><div>So I guess my question is, am I doing this correctly, or is the root of my issue elsewhere? If I hadn't already e-wasted the old battery I would pop that in for a test.</div><div><br></div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Jun 2022 at 12:00, Rubin Abdi <<a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">This issue has sadly returned. I would appreciate any recommendations. Thanks.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Jun 2022 at 14:06, Rubin Abdi <<a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I finagled an upgrade to 5.18.0 and things seem to be working fine now. I'm not exactly sure why linux-image-amd64 got stuck at 5.16 during upgrade, but an apt-get install worked. Thanks for reading.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Jun 2022 at 12:55, Rubin Abdi <<a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello.<div><br></div><div>I'm running Debian Sid 5.16.0-4-amd64 from the repo. I just did a long needed aptitude safe-upgrade (I don't believe my kernel got upgraded). After reboot I am seeing upower -i /org/freedesktop/UPower/devices/battery_BAT0 report the state of the battery going from fully-charged to charging every few seconds (which is throwing up notifications in KDE every few seconds). The charging indicator LED on the machine is maintaining white for fully charged (yes I know this is subjective). Battery percent is maintained at 99%.</div><div><br></div><div>Additionally about a month ago I replaced the battery in this machine to a new generic one off of Amazon, after install and discharge/recharging the thing a couple of times upower reported about a 94% battery capacity (which I feel like is typical of generic replacement batteries). Today it's at 93.1404%.</div><div><br></div><div>I looked through the "Battery recalibration" thread from April, I could have sworn linux these days (along with the bios) manage recalibration on their own, but I suppose I'm mistaken.</div><div><br></div><div>So at this point I don't know if the issue is something got tweaked on this last apt upgrade, or a recalibration needs to happen. Any advice would be appreciated.</div><div><br></div><div>Thanks.</div><div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Rubin (<a href="https://pronoun.is/he/him" target="_blank">he/him</a>)<br><a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a><br></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Rubin (<a href="https://pronoun.is/he/him" target="_blank">he/him</a>)<br><a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Rubin (<a href="https://pronoun.is/he/him" target="_blank">he/him</a>)<br><a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Rubin (<a href="https://pronoun.is/he/him" target="_blank">he/him</a>)<br><a href="mailto:rubin@starset.net" target="_blank">rubin@starset.net</a><br></div></div>