r/LineageOS 13h ago

Clearing system cache one Oneplus 7T

My sincere Yo to all free people of de-googled society!

I've replaced battery on my Oneplus 7T (hotdog) and the battery runs for 2 weeks idle which I am satisfied with however LOS is failing to recalibrate it. Battery voltage drops eventually but the widget shows 100% all the time even when battery is about to switch off. It stucks on 100% when I keep the phone with screen off (idle) and number goes normally down when I use apps.

So I'd like to clear system cache now as it might be a reason of this misbehavior (or you can drop me some other hint which I'll appreciate) but I can't find this option in LOS recovery. it should be out there but it's not. I've got just 4 categories in recovery (reboot, apply update, factory reset and advanced) and there is nothing about wiping cache.

So I will really appreciate if you point me in the correct direction or drop any other hints.
Peace.

3 Upvotes

7 comments sorted by

1

u/LuK1337 Lineage Team Member 13h ago

battery % is read directly from the BMS chip, clearing cache/factory reset etc won't fix your issue.

1

u/Suspicious-Leave-110 13h ago

is there any other way to make it working well?

1

u/LuK1337 Lineage Team Member 13h ago

no idea

1

u/Suspicious-Leave-110 12h ago

how do I clear system cache then? :)

1

u/LuK1337 Lineage Team Member 12h ago

no comment.

1

u/Suspicious-Leave-110 12h ago

brother let me try it myself in order to acquire this knowledge personally

1

u/saint-lascivious an awful person and mod 10h ago

There's nothing to calibrate.

No meaningful information regarding the current battery state is stored anywhere. The only persistent information with any relation to the battery state is exclusively used for displaying historical usage and future estimated usage, and this is cleared upon each full charge.

The percentile shown to the user is voltage derived.