Disiabling low battery thottling possible? - Nexus 6 Q&A, Help & Troubleshooting

Hi guys
I've seen a few posts on here about people claiming to have fixes for the low battery CPU throttling problems, but those simple fixes never worked for me, phone still slows down in low battery.
I just wanted to know once and for all if this is even possible on this device (with a modded kernel, whatever) to finally get rid of it and keep the phone the same speed over all its battery range. I've even read in the franco kernel thread that it's not possible 100% because of how it is designed (not their exact words )
If so, how does one go about making the mods to do this?
Thanks!

I have a thread in Android Development section and yes it works. :good:

RatchetPanda said:
I have a thread in Android Development section and yes it works. :good:
Click to expand...
Click to collapse
Hey buddy I saw your thread and yours was the first thing I tried! My phone still seems to be throttling under low battery, through, even with your mod done.
:crying:

Starholdest said:
Hey buddy I saw your thread and yours was the first thing I tried! My phone still seems to be throttling under low battery, through, even with your mod done.
:crying:
Click to expand...
Click to collapse
Upload your /system/etc/thermal-engine.conf

RatchetPanda said:
Upload your /system/etc/thermal-engine.conf
Click to expand...
Click to collapse
Code:
sampling 5000
[BAT-SOC-CPUFREQ]
algo_type monitor
sensor soc
sampling 5000
thresholds 100
thresholds_clr 99
actions cpu
action_info 1728000
[BAT-SOC-HOTPLUG]
algo_type monitor
sensor soc
sampling 5000
thresholds 100 100
thresholds_clr 99 99
actions hotplug_3 hotplug_2
action_info 1 1
[BAT-SOC-GPU]
algo_type monitor
sensor soc
sampling 5000
thresholds 100 100 100
thresholds_clr 99 99 99
actions gpu gpu gpu
action_info 500000000 389000000 300000000
[CHG-SS]
algo_type ss
sampling 5000
sensor chg_therm
device battery
set_point 53000
set_point_clr 48000
[VS-BATT]
algo_type virtual
trip_sensor chg_therm
set_point 35000
set_point_clr 30000
sensors pcb0 batt_therm chg_therm
weights 88 100 80
sampling 5000
path /sys/class/power_supply/battery/temp_hotspot
[BATT-HS-SS]
algo_type ss
sampling 5000
sensor VS-BATT
device battery
set_point 49000
set_point_clr 47000
[BATT-SS]
algo_type ss
sampling 5000
sensor batt_therm
device battery
set_point 44000
set_point_clr 42000
[WCHG-HS-SS]
algo_type ss
sampling 5000
sensor VS-BATT
device wireless
set_point 49000
set_point_clr 47000
[WCHG-SS]
algo_type ss
sampling 5000
sensor batt_therm
device wireless
set_point 44000
set_point_clr 42000
[SS-CPU0]
algo_type ss
sampling 65
sensor cpu0
device cpu
set_point 90000
set_point_clr 55000
[SS-CPU1]
algo_type ss
sampling 65
sensor cpu1
device cpu
set_point 90000
set_point_clr 55000
[SS-CPU2]
algo_type ss
sampling 65
sensor cpu2
device cpu
set_point 90000
set_point_clr 55000
[SS-CPU3]
algo_type ss
sampling 65
sensor cpu3
device cpu
set_point 90000
set_point_clr 55000
[SS-POPMEM]
algo_type ss
sampling 65
sensor pop_mem
device cpu
set_point 80000
set_point_clr 55000
time_constant 16
[SS-GPU]
algo_type ss
sampling 250
sensor tsens_tz_sensor10
device gpu
set_point 90000
set_point_clr 55000
[SS-QUIET-CPU]
algo_type pid
sampling 3000
sensor quiet_therm
device cpu
set_point 46000
set_point_clr 40000
p_const 1.0
i_const 0.1
d_const 3.0
i_samples 10
dev_units_per_calc 50000
limit 11
[SS-QUIET-GPU]
algo_type pid
sampling 3000
sensor quiet_therm
device gpu
set_point 46000
set_point_clr 40000
p_const 1.0
i_const 0.1
d_const 3.0
i_samples 10
dev_units_per_calc 10000000
limit 3
[HOTPLUG-CPU1]
algo_type monitor
sensor cpu1
sampling 65
thresholds 105000
thresholds_clr 85000
actions hotplug_1
action_info 1
[HOTPLUG-CPU2]
algo_type monitor
sensor chg_therm
sampling 5000
thresholds 56000
thresholds_clr 52000
actions hotplug_2
action_info 1
[HOTPLUG-CPU3]
algo_type monitor
sensor chg_therm
sampling 5000
thresholds 54000
thresholds_clr 50000
actions hotplug_3
action_info 1

You shouldn't be throttling with that. Try a custom kernel.

RatchetPanda said:
You shouldn't be throttling with that. Try a custom kernel.
Click to expand...
Click to collapse
Hmm, alright. And is there a way to wake up cores faster after the phone has been sleeping for a while? I noticed it takes a while (sometimes 30+ seconds?) to activate cores 3 and 4.

Related

*** droid 4 overclocking ***

As some may now, the droid 4 can be overclocked already thanks to TEKAHUNA the link below is a link to his thread. All instructions and download links are there i currently am overclocked to 1388. All vsel controls are available also.
Link
tekahunas thread
After loading the modules you can use quickclock advanced to change ALL values.
Sent from my DROID4 using XDA App
Have you tried OCing higher? Or are you just keeping it at 1388 to be safe?
phrir1 said:
As some may now, the droid 4 can be overclocked already thanks to TEKAHUNA the link below is a link to his thread. All instructions and download links are there i currently am overclocked to 1388. All vsel controls are available also.
Link
tekahunas thread
Sent from my DROID4 using XDA App
Click to expand...
Click to collapse
If you check my Utility I added an Overclock Install option. It also has links to a better video guide to overclocking.
jgardner said:
Have you tried OCing higher? Or are you just keeping it at 1388 to be safe?
Click to expand...
Click to collapse
Yeah i was running 1.4 stable for a little while, but after a while i noticed lag here and there so i just dropped it down to 1388 to be on the safe side. After loading the modules i use quickclock advanced to play with all the settings.
Sent from my DROID4 using XDA App
Hi phrir1, mattlgroff,
Which file should I download for Droid 4? I cannot see it was listed there but only saw Droid 3 only.
BTW, is it no problem to running on stock 2.3.6 rom ?
Million thx!
I kept to use 2.3.6 because of webtop 2.0
Kent
I installed the two zip from recovery, but in the ommand-line, I have no "overclock" directory under /proc/.
Anybody can use that desription?
Adamyno said:
I installed the two zip from recovery, but in the ommand-line, I have no "overclock" directory under /proc/.
Anybody can use that desription?
Click to expand...
Click to collapse
please use the jbx kernel I posted in developers section
lucize said:
please use the jbx kernel I posted in developers section
Click to expand...
Click to collapse
I installed CM 11 Nightly, kernel 3.0, kernel_jbx, moto_init_d, mo_simp_1.5_spyde zip files, but nothing happens, I have no overclock directory
Adamyno said:
I installed CM 11 Nightly, kernel 3.0, kernel_jbx, moto_init_d, mo_simp_1.5_spyde zip files, but nothing happens, I have no overclock directory
Click to expand...
Click to collapse
On CM11 you can only use lucize's jbx kernel or dtrail1's jbx kernel to overclock, you're installing a bunch of things that shouldn't be used on CM11
I've been using stargo's CM11 with dtrail1's jbx kernel with the droid 4 overclocked/undervolted to 1.3ghz and GPU at 384mhz with good stability (certain settings like interactive govenor will make the device unstable though), lucize's kernel is based off dtrail1's kernel and should be more suited for our device.
I use KitKat 4.4.4 slimkat or CM11
and jbx kernel from lucize
to change cpu setting i use no-frills CPU or Trickstar MOD
but in this programs I can't go more then 1,3 GHz
from comand line I don't have /proc/overclock dir
where can I change proper CPU values ?
I only want to check if phone can work with bigger and to have few more point in Atutu :>
jaqjacek said:
I use KitKat 4.4.4 slimkat or CM11
and jbx kernel from lucize
to change cpu setting i use no-frills CPU or Trickstar MOD
but in this programs I can't go more then 1,3 GHz
from comand line I don't have /proc/overclock dir
where can I change proper CPU values ?
I only want to check if phone can work with bigger and to have few more point in Atutu :>
Click to expand...
Click to collapse
You have to use the MPU OC option to get above 1300mhz. Disable "Battery Friend" first otherwise it won't allow you to adjust the MPU setting.
CPU frequency is multiplied by the MPU, adjusting it will effect all CPU steps much like overclocking frontside bus on a PC, stock is 100, so think of the 1300mhz setting as a 13x multiplier, 300mhz as a 3x multiplier, and so on.
A good, easily achievable OC is 108 MPU
100 MPU x 13 = 1300mhz
108 MPU x 13 = 1404mhz
100 MPU x 3 = 300mhz
108 MPU x 3 = 326mhz
and so on... much beyond this you have to fiddle with the voltages a lot otherwise you will get random reboots, I found I needed a MPU voltage of 1420 (1.420v) to get 1404mhz completely stable. The other voltages are pretty generous and I have found they can be undervolted significantly while running 1.4ghz+.
With the phone at 1495mhz I managed to get just shy of 14,000 in Antutu but it was not stable because of voltages... roughly 1450mhz should be safe for a daily driver while maintaining good battery life and low heat once lowest possible stable voltages are worked out, maybe more, still testing it all myself.
Elanzer said:
You have to use the MPU OC option to get above 1300mhz. Disable "Battery Friend" first otherwise it won't allow you to adjust the MPU setting.
CPU frequency is multiplied by the MPU, adjusting it will effect all CPU steps much like overclocking frontside bus on a PC, stock is 100, so think of the 1300mhz setting as a 13x multiplier, 300mhz as a 3x multiplier, and so on.
A good, easily achievable OC is 108 MPU
100 MPU x 13 = 1300mhz
108 MPU x 13 = 1404mhz
100 MPU x 3 = 300mhz
108 MPU x 3 = 326mhz
and so on... much beyond this you have to fiddle with the voltages a lot otherwise you will get random reboots, I found I needed a MPU voltage of 1420 (1.420v) to get 1404mhz completely stable. The other voltages are pretty generous and I have found they can be undervolted significantly while running 1.4ghz+.
With the phone at 1495mhz I managed to get just shy of 14,000 in Antutu but it was not stable because of voltages... roughly 1450mhz should be safe for a daily driver while maintaining good battery life and low heat once lowest possible stable voltages are worked out, maybe more, still testing it all myself.
Click to expand...
Click to collapse
Thanks! 400 Points more on first try and still testing.
Could you share yours daily use cpu parameters ?
For example
1300 x MPU 108 1420
1100 x MPU 108 1380
.....
or just print screens from trickstar mod or any other cpu app.
I'm curies about battery level too.
Other thing on mys Milestone2 i have only 4 CPU Frequency step with custom changeable example: originaly was 1000,800,600,300 best for my 1200,900,500,300
On Droid 4 apps shows that I have more then 10 on Lucid Kernel
Does cpu governors use all of that steps ?
If there are only few of them can I and should I change those steps ?
jaqjacek said:
Thanks! 400 Points more on first try and still testing.
Could you share yours daily use cpu parameters ?
For example
1300 x MPU 108 1420
1100 x MPU 108 1380
.....
or just print screens from trickstar mod or any other cpu app.
I'm curies about battery level too.
Other thing on mys Milestone2 i have only 4 CPU Frequency step with custom changeable example: originaly was 1000,800,600,300 best for my 1200,900,500,300
On Droid 4 apps shows that I have more then 10 on Lucid Kernel
Does cpu governors use all of that steps ?
If there are only few of them can I and should I change those steps ?
Click to expand...
Click to collapse
These are my current settings. I'm still working on them because I adjust them then use the phone for 2 full days / charges to test the stability, not every stepping is adjusted completely down - I adjusted/tested the middle voltages in groups and only adjusted the top/bottom voltages individually. There's no quick way to test them because they'll test perfectly in a CPU stress test app then within 5min of browsing the device will reboot. These particular settings have been stable for a few days. I could not get even 1443mhz stable what so ever, even after adding +75 to all voltage steps, so maybe 1.4ghz is closer to a realistic limit.
Also the voltages on this device/kernel seem to have a limit of how low you're allowed to set it. I'm not sure if this is an artificial limit or a limit of the hardware, but 952 is the lowest voltage available for 300mhz even though the device could likely undervolt far more at this frequency. Since 100 and 200 also use the same 952 voltage, there is zero point in setting the minimum frequency to anything lower than 300, as they all use the same voltage.
I'm not allowed to post a link directly because I don't have 10 posts yet (this rule is stupid), but here you go: hxxp://i.imgur.com/01xb0Wp.png
The CPU govenor uses all steps provided you're using ktoonservative. I found I couldn't use most other governors because they would freeze the device (ie: switching CPU governor Interactive would freeze the device, switching the I/O governor from deadline to sioplus freezes, etc). There is lots to adjust in the ktoonservative governor for performance/battery life.
I'm currently using these settings right now with good results as a balance between battery life and performance:
up_threshold 80
up_threshold_hotplug 85
down_threshold 30
down_threshold_hotplug 25
sampling_down_factor 10
sampling_rate 35000
sampling_rate_screen_off 30000
freq_step 1
disable_hotplugging 0
freq_step decides how much the CPU ramps up, a setting of "1" ensures it uses all frequencies. If you use "20" it'll increase the frequency to the closest 20% each time instead of closest 1%. Set to 100 and the governor works identical to the "ondemand" govenor (ie: CPU will go straight from lowest to highest speed). The thresholds have to do with how much % the CPU utilization has to be at before it will increase or decrease the frequency, so lower numbers can increase responsiveness by having the CPU increase it's speed quicker.
I use yours governors conifg
and
MPU 108
1404 Mhz - 1302
1296 Mhz - 1300
1188 Mhz - 1275
1080 Mhz - 1275
972 Mhz - 1255
864 Mhz - 1210
756 Mhz - 1160
648
540
432 Mhz - 1117
324
216
108 Mhz - 952
those are my stable for now
but the battery isn't so good I can only dream about 2 days
It is how your say benchmark pass but open some app and chance for reboot is 50/50
Is there a way to see current voltage ?
Because phone shouldn't work on 1404Mhz x 1302v and i think that I miss something.
jaqjacek said:
I use yours governors conifg
and
MPU 108
1404 Mhz - 1302
1296 Mhz - 1300
1188 Mhz - 1275
1080 Mhz - 1275
972 Mhz - 1255
864 Mhz - 1210
756 Mhz - 1160
648
540
432 Mhz - 1117
324
216
108 Mhz - 952
those are my stable for now
but the battery isn't so good I can only dream about 2 days
It is how your say benchmark pass but open some app and chance for reboot is 50/50
Is there a way to see current voltage ?
Because phone shouldn't work on 1404Mhz x 1302v and i think that I miss something.
Click to expand...
Click to collapse
I am 3 days uptime on these current settings at 111 MPU with heavy use:
Code:
hxxp://i.imgur.com/17iPAZL.png
The phone rebooting is generally caused by voltage being too low. 1302 is way too low for 1404mhz and is probably why you're getting the reboots. The "1302" value translates to "1.302v" which is a perfectly normal CPU voltage, but it's really low and I can't imagine that being stable for you since I need "1390" for 1404. There isn't a way of checking the current voltage other than looking at the current frequency.
I have not further reduced the 1332 and 1221mhz settings yet as I found reducing them was causing my issues getting above 109 MPU. Probably in a week or two so of use and adjustments I'll post my final tuned settings after I squeeze all I can out of it, I just require a few days of solid uptime to verify stability because I can't seem to find a stress testing program that ensures total stability. it's just that I test each setting over a period of days. My settings might not work for you since all CPUs aren't identical in quality, but it should give you a ballpark of settings.
If you want to improve battery further try looking at adjusting the automatic screen brightness, I'm currently using these settings, although you could easily further reduce brightness:
Code:
hxxp://imgur.com/D3sKAIn
hey guys, just imported 2 droid 4s to the uk.
an amazing device still today i think.
Can anyone suggest how to get mpu oc to stick after reboot? It always seems to reset to 100.
The frequency oc sticks but drops to 1300 due to mpu not sticking.

high cpu load in JB 4.1.2 XXLSA

Hello,
I few days ago i rooted my phone for my first time and i flashed that JB ROM with multindows support.
So, i noted that the cpu load it's always high, near 100%. Also RAM is a bit more used that with the ICS ROM i had.
Thing is that most of the times, when i open OS Monitor to see what's going on with the CPU, then the cpu load suddenly decrease... ?_?
If not, there nothing abnormal in the list of apps. Most of the time the "Android System" or "System" are using most of the CPU load...
I read that JB leaks have an issue with the media scanner. Well, I installed Rescan Media Root to disable the service, but nothing changed.
I don't know if it's because the app do not disabled the media scanner or because that's not the problem.
About the first, after disabling the media scanner, when i take a picture, it should appear in the Gallery only after i manually scan the media right? Well that's not happening, even after supposedly disabling the media scanner, after taking pictures they keep appearing automatically in the Gallery.
I also installed SetCpu and CpuSleeper to control cpu, i did'nt expect to solve the problem but i though they are a good tool. So, even though performance improved a little, it didn't solve the problem, altough it seems to happen lest frecuently, but just a bit.
About SetCpu, i noted that when changing from one profile to another cpu load also increase to 100% for a while, is this normal or maybe my profiles are set up wrongly?
My profiles are, in orden of priority, highest to lowest: (cpu frequency available: 200, 500, 800, 1000, 1200, 1400)
- When screen is on and some games app are active, governor performance, minimun cpu frequency 200, maximun cpu frequency 1400.
- When screen is off, above certain battery level threshold (20%), governor on demand, minimun cpu frequency 500 (to avoid lags when unlocking), maximun cpu frequency 800.
- When screen is off, under the battery level threshold, governor powersave, minimun cpu frequency 200, maximun cpu frequency 500.
- When screen in on and above certain battery temperature, governor on demand, minimun cpu frequency 200, maximun cpu frequency 1000.
- When the screen is on, not in acall, above the battery level threshold and under the battery temperature threshold: governor powersave, minimun cpu frequency 200, maximun cpu frequency 1400.
- When the screen is on, not in a call, under the battery level threshold and under battery temperature threshold: governor powersave, minimun cpu frequency 200, maximun cpu frequency 1400.
I hope you can help me,
BR

[Q] what is the maximal sampling rate of the accelerometer

what is the maximal sampling rate of the accelerometer ?
does anyone know?

Any tweak to restrict cpu speed in order to avoid overheating?

I can't use my vr gear for more that 10 minutes before the overheating message appears on the phone.
Has anyone found a fix for this?
I wouldn't do the cooling fan mod on the gear, too much hassle.
On my note 4 I undervolt and set the cpu governor to 1100mhz max. I believe the VR is more dependent on GPU than CPU so undervolt and limiting the cpu speed keeps it cooler.
jedisurfer said:
On my note 4 I undervolt and set the cpu governor to 1100mhz max. I believe the VR is more dependent on GPU than CPU so undervolt and limiting the cpu speed keeps it cooler.
Click to expand...
Click to collapse
Do you mind sharing your voltage and clock settings?
How much additional time you achieve with your setup?
Thanks!
Rayan said:
Do you mind sharing your voltage and clock settings?
How much additional time you achieve with your setup?
Thanks!
Click to expand...
Click to collapse
I can run it pretty much indefinitely I think, at least an hour. I usually stop every 30 min because my eyes get strained.
I have emotion kernel 21, running rapture rom using synapse to undervolt and underclock. I have the 805 variant so there is core 0, 1, 2, 3. Under hotplug I also disable core 3. It runs perfectly fine and does not jitter even with the cpu set that low and core 3 offline(the 4th core since it starts at core 0)
I run -100mv through all the speed steps (that's the most it will let me undervolt global if I want to go lower I have to manual set it for each speed)
268mhz - 600mv
300mhz - 605mv
345 - 610
422 - 615
499 - 625
576 - 635
652 - 645mv
729 - 655mv
etc each step I usually go up 10mv
1113 - 705mv
1190 - 715
1267 - 725mv
1344 - 745mv
my pvsX
qcom speed2-pvs13-bin-v1 I believe I got lucky with a high pvs13 your undervolts will vary. So please go slowly and don't try -100mv right away. I'd go -20, -40, -60 etc to test stability first. I also run it without the back cover just because I hate my chips heating up too much.
jedisurfer said:
I can run it pretty much indefinitely I think, at least an hour. I usually stop every 30 min because my eyes get strained.
I have emotion kernel 21, running rapture rom using synapse to undervolt and underclock. I have the 805 variant so there is core 0, 1, 2, 3. Under hotplug I also disable core 3. It runs perfectly fine and does not jitter even with the cpu set that low and core 3 offline(the 4th core since it starts at core 0)
I run -100mv through all the speed steps (that's the most it will let me undervolt global if I want to go lower I have to manual set it for each speed)
268mhz - 600mv
300mhz - 605mv
345 - 610
422 - 615
499 - 625
576 - 635
652 - 645mv
729 - 655mv
etc each step I usually go up 10mv
1113 - 705mv
1190 - 715
1267 - 725mv
1344 - 745mv
my pvsX
qcom speed2-pvs13-bin-v1 I believe I got lucky with a high pvs13 your undervolts will vary. So please go slowly and don't try -100mv right away. I'd go -20, -40, -60 etc to test stability first. I also run it without the back cover just because I hate my chips heating up too much.
Click to expand...
Click to collapse
Funny I just did the same thing to my a10 7870k rig. Lowered vcore and over clocked gpu. Runs much better those a10s don't need 1.45 volts lol. I'm not sure if I could do that to my s6 tho as I'm nervous to root because of jump program.
Sent from my SM-G920T using Tapatalk

What is the touch sampling rate of the screen?

I've been reading lately that what really makes a difference in the perception of smoothness in a smartphone is the touch sampling rate. Usually it is the same as screen refresh rate, but in the past years some phone do have a higher touch sampling rate than the screen refresh rate.
It's variable. It doesn't always giving the same rate when you check it with the Touch Sampling Rate Checker app; just like screen refresh rate isn't always consistent; and caps out at 181 Hz

Categories

Resources