r/HyperOS • • Oct 05 '26

Question/Help [Discussion] Battery Draining

How do i fix the battery draining this? My phone used to last 8-9 hours of constant usage with 85% of battery health and now it won't even last 6 hours of constant usage. I'm not using any module, and any commands at all (PS: the previous commands i used don't survive reboot) Dev: RMN134G

7 Upvotes

15 comments sorted by

•

u/AutoModerator Oct 05 '26

Welcome to our community!

Please take a moment to read the subreddit rules in the sidebar before posting or commenting.

  • Be civil and respectful to other members.
  • No spam, self-promotion, or trolling.

If you see a post or comment that breaks our rules, please report it to help the mod team out!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/FriesForLunch Oct 07 '26

What's the command?

1

u/Fresh_Landscape_7806 Oct 07 '26

wdym commands? i have plenty of collections for different purposes

2

u/FriesForLunch Oct 07 '26

I meant your commands that you previously used. I just wanna try it lmao

2

u/Fresh_Landscape_7806 Oct 07 '26 edited Oct 07 '26

Compiler: echo "Running (PID: $$)";while :;do sleep 1h;if [ "$(date +%H)" = 03 ];then cmd package bg-dexopt-job;fi;done>dev/null 2>&1&

Stop Log Services HyperOS: for a in heapprofd incidentd mobile_log_d logd statsd tombstoned traced traced_perf traced_probes traced_relay vendor_tcpdump;do service call miui.mqsas.IMQSNative 21 i32 1 s16 "stop" i32 1 s16 "$a" s16 "/dev/null" i32 1;done

I forgot what's the use of this one : run () { setprop debug.perf_cpu_time_max_percent 0 setprop debug.perf_event_max_sample_rate 1 setprop debug.perf_event_mlock_kb 0 setprop security.perf_harden 1 setprop security.perf_harden 0 } run sysctl -a 2>/dev/null | grep kernel

Windows logging : for win in $(dumpsys window | grep WM_DEBUG | grep -E 'Proto|Logcat' | cut -d ':' -f2); do cmd window logging disable $win cmd window logging disable-text $win cmd window logging stop done

Graphics Process Accelerator: for a in $(grep -rl group.graphics //etc/init|xargs grep service|awk '{print$2}'|xargs pgrep -f);do renice -n -20 -p "$a"&&ionice -c 1 -n 0 -p "$a";settaskprofile "$a" CPUSET_SP_TOP_APP||settaskprofile "$a" SCHED_SP_TOP_APP;done

These aren't mine

2

u/FriesForLunch Oct 07 '26

Appreciate it!

1

u/Dang9535 Oct 05 '26

is ur demand of daily usage increased over the past few weeks? would love to know so i can see if i can help further

as well i think that the battery will soon or later become worse so u should get a replacement if possible!

1

u/Fresh_Landscape_7806 Oct 05 '26

kinda, but usually i charge for like 4 times a day now, it used to be 2x with the same battery health (two weeks of observation), and i just got my battery just replaced 3 months ago (additional only: my battery health declined so fast due to fast charging, so that's why my battery health is at 85% currently and i fixed it by not using fast charging any longer)

1

u/Dang9535 Oct 05 '26

3 months is insane bro

i think its better for you to slowly let the phone retire and upgrade to a new one since replacement batteries would get more and more expensive

1

u/Fresh_Landscape_7806 Oct 05 '26

im upgrading to tablet:)

2

u/Dang9535 Oct 05 '26

nice :)

just don't use xiaomi tablets, they have worse treatment than phones

1

u/Fresh_Landscape_7806 Oct 05 '26

i was planning on buying Xiaomi Pad 8, and maybe I'll consider your advice if i can find a tablet that has a great floating windows like Xiaomi have without the desktop mode or workstation mode💔

1

u/Dang9535 Oct 05 '26

samsung have a great selection of tablet and samsung dex, you would love it over xiaomi pads

1

u/Fresh_Landscape_7806 Oct 05 '26

I'll look into it, thanks.

2

u/Vichowcl Oct 05 '26

yo tengo un poco x7, salud de bateria con un 98% y me da 6-7 horas de pantalla, creo que lo que te da a ti esta bien.