CM11 SuperTweak - Xperia Z1 Compact General

For Stock CM11 Without Any Custom Kernel :
- High Performance and Battery save
- Smooth Scrolling
- Smooth Video Recording
Make your own test on AnTuTu and Quadrant. You will see the difference !
This is my personal settings for stock cm11. Just to share and if you don't like it, don't use it !
Update : battery drain fixed (power management enabled)
Please backup before flashing !

Code:
# CPU Governor :
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
That is a terrible idea mate, it will drain the battery in no time...
The same is true for your GPU "tweak".
Code:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/179:32/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/179:64/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/default/read_ahead_kb
This will end up in a lot of trashed data, nearly none of those readings will going to get merged. There is a reason why the red_ahead is not set higher in the main kernel tree...
Do everyone a favor and be a bit careful on what you include

I never had battery drain for 6 months. The only thing that can drains fast your battery is the screen and apps in the background like google services and whatsapp... For example, when you drive a car, the only thing that can drain the fuel is the distance and the time that you are driving, if the speed is always constant. That's it !

marouane80 said:
I never had battery drain for 6 months. The only thing that can drains fast your battery is the screen and apps in the background like google services and whatsapp... For example, when you drive a car, the only thing that can drain the fuel is the distance and the time that you are driving, if the speed is always constant. That's it !
Click to expand...
Click to collapse
Wrong. If you keep the CPU our GPU at high speeds, which you do with your scripts, you will end up losing battery...
Take your car example.
Drive 10 kilometers in 10 minutes in gear number 1.
Drive 10 kilometres in 10 minutes in gear number 5.
Which one do you think is going to waste more fuel? The high Rev's, or the low ones?

Update, see OP.
(battery drain fixed)

Related

Battery Benchmark App!!

Hi,
Everyone might knew "Quadrant", app to benchmark our Android phone.
However, so far, there is no app to benchmark battery.
NONE!!!
The idea is quite easy. Run the battery benchmark app and show the result at the end.
It should not be too difficult, too bad I am not Android developer.
Anyone can take up the challenge? To be THE FIRST creator of battery benchmark for Android
Here is the basic idea for the app:
Start the app with 100% Battery life
Some options in the app (for features that might NOT be in an Android phone or might not be available at the time?):
[ ] Turn on Wifi
[ ] Turn on GPS
[ ] Turn on Bluetooth
Set the app to WAKE all the time, display turned ON all the time of the test
Set Keyguard to OFF (device will not be locked)
Set Brightness to AUTO
Set all speakers to SILENT
Set vibration to OFF
Then loop until battery down to 5%, perform the below tasks in sequence:
* Play movie for 15 minutes [speaker muted]
* Browse to website??? be careful not to overload the website
* Doing arithmatic (counting pi?) that increase to 100% CPU
* Doing 3D animations
* Play MP3 [speaker muted of course]
* File I/O
* etc.
As soon as the battery down to 5%, app stop and display result ...
"Battery Benchmark result: XX hours YY minutes ZZ seconds
And of course restore all the settings.
App should use generic and known to work Android API, not hack or proprietary library.
Anyone???
BE THE FIRST!
Good idea
In fact I am surprised this app hasn't been created yet.
We could imagine automatic tests to be conducted for 1 or 2 hours on a clean ROM (fresh install with no additional apps installed).
The tests could be such as:
- taking pictures
- playing a music file
- playing video
- standby consumption testing
- ...
Browsing could be tested but it depends a lot on wifi or Network infrastructure so it might not be a good idea to compare the results.
Every minute some data could be saved to then generate some graph:
- current (mA)
- Battery Voltage (mV)
- CPU freq
- Battery %
Of course the tests initial conditions have to be clearly established (screen brightness, wifi/BT/Network status...).
At early stage of development such an application could perform very simple tasks but would nevertheless be a great tool to compare ROMs in terms of consumption.
stability test from marked would do the trick. With 100 % battery run the app for 30 min and see how much power was used. You would probably not be able to compare with other users as kernel, modem(3g) and rom might differ.

[Ultimate GUIDE] Increase your battery life on Android

What can you expect from these tips?​
*Increase battery life by 3 times compared to a situation without any tip implemented!
My target is to unplug my phone at 6am in the morning and have it around 10% at 11pm. The below tips enabled me to reach this target whereas, without them, I would run out of battery at noon (same usage, of course)!
Disclaimer: I consider that manually "swith off location" or "switch off wifi" as well as having Juice Defender on "extreme" are not acceptable. Why? Because we all need tips that enable battery savings without decreasing the user's experience! If you need to operate manually each time you want to connect and/or have 3G... this is not a solution. If Juice Defender just cut-off every communication and don't let e-mails flow, etc... this is not a solution!
However, for those who want those kind of tips, I created a special section in post 2!
Red % signification: Well, those % in red are gut feeling of "tip contribution" to the total battery saving.
My settings which enable best battery savings without reducing user's experience!​
1. Use a NAND ROM
2% of battery improvement
Yes, compared to an SD ROM, a NAND ROM is less battery demanding. But as you can see, 2% is not a big part of the total improvement.
2. Use "SetCPU" with appropriate settings
5-10% of battery improvement
My Main is:
Max: 1190400 / Min: 245000 / Scaling: ondemand - yes! I want light speed HD2!
Click to expand...
Click to collapse
My profiles are (in order - this is important):
Screen Off
Max: 384000 / Min: 245000 / Scaling: ondemand
Battery <5%
Max: 614000 / Min: 245000 / Scaling: powersave
Battery <15%
Max: 614000 / Min: 245000 / Scaling: ondemand
Battery <30%
Max: 806000 / Min: 245000 / Scaling: ondemand
Click to expand...
Click to collapse
Click to expand...
Click to collapse
3. Lower VDD values as low as you can (till device becomes unstable)
5-10% of battery improvement
I am using Tyween settings from his ROM Typhoon.
Code:
#!/system/bin/sh
# set vdd_levels on boot by tyween (XDA Developers)
echo '245000 850' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '384000 875' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '422400 900' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '460800 925' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '499200 950' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '537600 975' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '576000 1000' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '614400 1025' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '652800 1050' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '691200 1075' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '729600 1100' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '768000 1100' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '806400 1125' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '844800 1150' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '883200 1150' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '921600 1175' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '960000 1175' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '998400 1200' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '1036800 1200' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '1075200 1225' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '1113600 1225' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '1152000 1250' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '1190400 1275' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
I tested even lower values, but my phone was not stable.
I read that each single piece of hardware is unique and could have its own minimum values, so your device could accept lower values (i.e. you're lucky compared to me) or on the contrary higher values (here I am luckier than you are )
Tip "easy way to test a new set of undervolting values": If you want to test undervolting values, themadproducer recommends to use the CONSERVATIVE CPU profile. Why? Because CONSERVATIVE seems to use the full range of scaling frequencies as it climbs up to MAX and falls back down to MIN. This way, if any particular frequency is set too low, it will complain and freeze the CPU. ONDEMAND and SMARTASS would skip over these middle frequencies or at best, never use them for more than an instant.
4. Use "Setting Profiles" for location-based WiFi
10-15% of battery improvement
This soft enables you to switch on/off wifi according to your location (based on cell towers - which does not use battery!).
Be careful: if your location is determined by GPS (instead of cell towers) than you will use more battery through GPS than you save by switching off wifi!!!
Example: you can define to have wifi ON when you are at home, and OFF when you leave home. Same with "work" or any other place where you know there's a wifi network to which you can connect.
Setting Profiles can also be used for automatic phone profiles switching (all kind of opitions from volumes, ringtones to screen brightness airplane mode, etc...)
However, I recommend you let Setting Profiles governing the wifi only. For phone profiles, I use Pocket weaver which is better I think - it can trigger profiles according to Touchdown calendar for example. Moreover, I need wifi on/off independently from hour or calendar status and these apps don't do well when it comes to integrate several conditions together.
5. Use "Phone weaver" for a night phone profile
% of battery improvement depending on situation
I am using a night profiles which goes "Air plane mode" from 11pm to 7am. But usually, I plug my phone overnight, so battery consumption is irrelevant overnight - my night profile is just to prevent radio waves to kill my brain too prematurely as the phone is nearby for morning alarm!
6. Properly setup your Internet apps
% of battery improvement depending on situation
Sounds obvious, but still! Do you really need your phone to check e-mails each 5 minutes? Or would 15 minutes be ok and in return get instantly a lot more of battery life?
Seriously, you need to setup your apps wisely.
e.g.: for those who use Touchdown (exchange sync), this app has awsome options: you can define "peak hours" during which you have a certain setting and the rest (off-peak hours) you will have another setting + the "push" option is very clever: it does not use much battery and on the top of the push option, you setup a period when it will go and check e-mails...
7. Use Auto brightness for your screen
10% of battery improvement
If your are running CM7, there is a function that let you set your own auto-diming values.
First you need to enable auto-dimming in Settings/Brightness and then check the box. After that, go in Settings/CyanogenMod settings/Display/Automatic backlight and set the following:
Light sensor filter=enabled
- Activated: checked
- Window length = 10 s
- Reset Threshold = 400 lux
- Sample interval = 0.5 s
Light levels
- Use custom = checked
- Screen dim level = 1
- Edit other levels…
Lower / Upper / Screen / Buttons
0 / 10 / 1 / 255
11 / 149 / 20 / 255
150 / 229 / 40 / 0
230 / 499 / 50 / 0
500 / 999 / 60 / 0
1000 / 2999 / 100 / 0
3000 / 9999 / 200 / 0
10000 / infinite / 255 / 0
Set number of levels = 8 (you need to set this before editing levels above)
(hit Save & Apply)
- Allow light decrease = checked
- Decrease hysteresis = 20%
Click to expand...
Click to collapse
Click to expand...
Click to collapse
If you are not running a CM7 ROM, then just enable auto-dimming in Settings/Brightness and then check the box.
8. Use "Juice Defender Ultimate" + "Juice Plotter"
50% of battery improvement
All of the above tips are very useful. However, this one is the one tip! I came to it almost depressed by my battery life (I had all of the above tips in place already).
I did not believe this soft could really help, and I thought "ok, yeah, this app will just cut-off all communication etc... but then I will have no more auto-sync and/or push e-mail"... I thought it would be a kind of "well just don't use your phone and you will get great battery life!"...
I was wrong. This app is a must! There are all kind of options in settings. Of course the first time you have to go through it and read-read-read learn-learn-learn. But in basically 20 minutes, you are setup and you have a huge battery life improvement! I can share my own settings if anybody is interested.
And the beauty of it, is that in the huge amount of options available, Juice Defender sort out everything by itselft and as a result - I don't feel the difference from a usage point of view (K9 e-mail flowing, Touchdown is pushing e-mail, everything works like a clock). From a battery point of view: wow! The app says it increases my battery life by a 2.5 factor! And this is pretty much what I observe!!!
Juice plotter is also a must: it tells you how long you will last on your battery and I find it to be the most accurate app of this kind!
9. Condition / Calibrate your battery
This one is also a must – and you should do it time to time, let’s say once a month and always first thing to do after you flashed a new ROM!
1. Plug the phone overnight.
2. In the morning: don’t unplug! Check you have 100%, check you have CurrentWidget showing 0 mA if yes/yes, restart the phone / if not, wait until you got a yes/yes answer.
3. After reboot, don’t unplug! Wait again 15 minutes charging. Check you have 100%, check you have CurrentWidget showing 0 mA if yes/yes, go to step 4 / if not, wait until you got a yes/yes answer.
4. Don’t unplug! Clear battery statistics: use a small app named “BatteryCalibration” for that!
5. Unplug your phone, use throughout the day - Don’t charge until you reached 0% battery (when the phone switches-off itself).
6. Charge again overnight up to 100% and CurrentWidget at 0 mA.
7. You’re good to go, on daily use, you can charge upon need even if not at 0%.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
By the way, if you use GPS navigation and/or Bluetooth system in your car, you must invest in a car charger – and plug the phone every time you are in your car (if not the day during which you are calibrating)… it’s another way of increasing battery life – ok, I admit, it’s more a “trick”!
10. Use small apps that help switch on/off the screen when needed
I also tested 2 small apps that actually could help battery saving on the one side, but also increase the user experience on the other side.
Screebl pro: this app is just fantastic! According to screen orientation, it senses if you are using your phone or if it is resting (lying) on the table.
Before screebl: in order to save battery I had the screen timeout set to minimum (15sec). But each time I was reading a long e-mail, I was "playing" with the screen (up-down-up-down) in order to prevent the screen to switch-off and then unlock, etc... This was really annoying. And disturbing: I could not read an e-mail or a webpage without think: "oh, I need to play with the screen somehow or it will switch-off very soon"...
After screebl: the screen timeout is now 5sec! (through screebl) so if the phone is resting, it switches-off more rapidly = you save more battery! And when I read an e-mail or a webpage, I just relax, concentrate on the content! Anyway, the "ON" time is the same because you had to read this e-mail anyway...
ProximityScreenOff:this is also an app to have. It switches-off the screen according to the proximity sensor status: if proximity is detected, the screen goes off. If you are left-handed as I am, you need to take care of not hiding the proximity sensor when you drag the notification bar down, but it is manageable. Not only it is easier to switch-off screen now. It is also saving battery if the phone accidentally switches-on in your pocket! We already had the lockscreen which prevent your phone doing silly things in your pocket. Now even better: in your pocked, the screen switches-off almost instantly!
There is also an option to switch screen ON when proximity is detected, but warning! this drains battery - so I don't use it!
And last but not least...
11. Track any bad app
% of battery improvement depending on situation
Yes, you should know about the Email.apk bug (thanks to themadproducer - I think you learn me that). And generally: you should monitor what is going-on.
I use Watchdog which will alert you as soon as an app uses CPU above a certain threshold that you set. So you know for example that a particular app eats a lot of CPu, which means battery! Watchdog also has a "white list" function for those app that you know are consuming quite a bit of CPU but that you absolutely want to keep!
Go time to time in Spare parts / Battery history / partial wake usage and see which apps are preventing your phone to sleep - they are eating your battery instead!!!
Use CurrentWidget (with log if you want) in order to track instant high current consumption but remember you have to double check with the other above tools as current might be quite high time to time, but it is a normal situation.
Edit: I had an issue with CurrentWidget. In my case, I was logging too much and in Settings / About Phone / Battery usage, CurrentWidget was showing 12%!!! Unistalling / reinstalling might correct the issue (to be confirmed).
Use Battery Monitor Widget Pro: this will draw a graph with the battery % history in a widget, so that you can see at a glance if your battery have been decreasing with a higher rate than usual (by checking visually the slope of the curve). This also to alert you that there is something to track!
I recommend you read this thread which completely describes in a very comprehensive way how to track a battery drain!
Additional thoughts
Of course, if you are on this forum, there is a chance that you like flashing ROMs, tweak it, change settings, etc… All these activities of course use more battery than what I would call the “normal” use…
Also, some activities literally pump out the battery: games, movies, camera, camcorder, GPS navigation, bluetooth headset/earset/car system… There’s no much to do about that – just just need to be aware that they use a huge amount of battery to run; after that you make your choice: game or battery / movies or battery / do I really need the GPS navigation from work to home / etc…
Additional improvements for your phone
I strongly recommend the use of Tyween's Typhoon NAND ROM it is the most stable and complete ROM ever. I tested all of them and as soon as I flashed Typhoon, I understood it was the best... I then continued testing others, but eventually, I went back to this one!!! It is fast, reliable and updated very often! Tyween's Typhoon is here.
My Juice Defender settings
Status Tab
JuiceDefender Ultimate: Enabled
Profile: Advanced
Control Tab
Mobile Data: Enabled
WiFi: Enabled
Options: wifi preferred
3G: not working on Typhoon
AutoSync: ping
Keep enabled: none
Timeout: disabled
Keyguard: none
Home WiFi network: your home network
Brightness/CPU/Speeds/Governor: none
Schedules Tab
Schedule: enabled
Frequency: 1h
Duration: 2m
Controls: default
Night: enabled
Start/End: 0:00 -> 7:00
Adaptive start/end: start +1h max, end -1h max
Option: none
Peak/Frequency/Duration/Controls: disabled
Weekend: disabled
Triggers Tab
Battery: enabled
Battery threshold: 15%
Charger: usb ac
Screen: enabled
Options: ignore on low battery
Controls: default
Traffic: enabled
Traffic threshold: Normal / 15s
Apps: enabled
Configure: interactive
Controls: default
Location: enabled
Properly setup "SettingProfiles"
1. Open SettingProfiles
2. Go on the "Locations" tab
3. "Menu/New Location"
4. In the pop-up menu select "Cell Towers identified" (do not select "Lat/Lon Identified": this would deplete your battery)
5. A window opens-up with the current cell tower id open "Menu/Save as Cell Location"
6. In the pop-up menu, give a name to this location: e.g. "Home" or "Work" depending on the place you are right now
7. Still in this menu, you can check the "auto-save for 60 minutes". If you do so, then during the next hour, all new cells that are seen will be saved automatically as a cell for the just created location. Be careful: if you check this function, you need to be sure you will stay in this very location (e.g. stay at home) during the next hour.
You're done the "Location" is created and and several Cell Towers are saved for this location. Now it appears in the list in the Location tab.
After that, you need to do the following:
1. In the "Profiles" tab, create a profile named "Wifi ON" which leaves everything as it is except Wifi that it will switch-on
2. Still in the "Profiles" tab, create a profile named "Wifi OFF" which leaves everything as it is except Wifi that it will switch-off
3. In the "Rules" tab, create a new rule. Add condition: "Location" and then select the appropriate location where you want Wifi on. Add action: "Activate profile" and then select "Wifi ON". Back key: your rule is appearing now in the "Rules" tab.
4. Still in the "Rules" tab, create a new rule. Add condition: "Location" and then select the appropriate location where you want Wifi off and check "inverse logic". Add action: "Activate profile" and then select "Wifi OFF". Back key: your rule is appearing now in the "Rules" tab.
You're all set!
The beauty of SettingProfiles is that in the rules created on point 3 and 4, you can add several locations in the same rule. e.g. it will activate "Wifi ON" when you are at Home or at Work...
Follow-up: if in future you realize that SettingProfiles has selected "Wifi OFF" when it should have selected "Wifi ON", it means that there is a new Cell Tower accessible from (let's say) Home. In this case, go on the "Locations" tab, click on "Home" and if this Cell Tower is not in the list, there will be automatically a "save" button on the top of the list. Hit "save" to say to the app that this Tower is also part of "Home".
If you realize that SettingProfiles has selected "Wifi ON" when it should have selected "Wifi OFF", well that's nothing to do about. A Cell Tower that is accessible from (let's say) Home can also be accessible 1km from Home... However, this is not a major drawback: you are experiencing this situation only during commuting transitional times.
Extreme Users section
For those users who are ready to decrease their user experience (refer to disclaimer in post 1) here are additional settings!
Warning: if you apply these tips, you may not be happy with:
* too much involvement from your side (go switch-on switch-off things)
* widgets and other functions not properly working (i.e. auto location)
* e-mail that are not flowing / not syncing with the period you defined
Tips:
A. Turn off network location, GPS and auto sync (dorimanx)
B. South to 2g (dorimanx)
C. Set Juice Defender on "extreme" (beston94)
D. ... suggest yours!
Changelog
July 12th
* Added tip #10: Use small apps that help switch on/off the screen when needed
* Moved old tip #10 to #11: Track any bad app
July 6th
* Added the "Properly setup SettingProfiles" in post 2
July 1st
* Added disclaimer and "red %" signification in beginning of post 1
* Updated SetCPU profiles (Tip 2)
* Tips to test Undervolting values (Tip 3)
* Potential issue alert with CurrentWidget (Tip 10)
* Added JD stettings in post 2
* Added "Extreme Users" section is post 2
* Added Changelog in post 3
Nice thread.
I hope people look at this before posting "my battery life sucks.."
Do you have your statistics for the percentage gain/loss of the battery?
settings
Well you said anybody who is interested in settings on juicedefender ultimate?
Well i am on cmylxgo rom i got 37 hours on and still had 30% left with moderate usage.
But maybe your settings are better ;P
parker09 said:
Do you have your statistics for the percentage gain/loss of the battery?
Click to expand...
Click to collapse
The % I wrote are from "gut feeling"...
However, I know for sure that: before applying any tip, my battery was lasting 6 hours. Now with those tips, it lasts 18 hours!!!
You should try for yourself and report results!
beston94 said:
Well you said anybody who is interested in settings on juicedefender ultimate?
Well i am on cmylxgo rom i got 37 hours on and still had 30% left with moderate usage.
But maybe your settings are better ;P
Click to expand...
Click to collapse
Uh... So you mean that you drain your battery in 50+ hours? More than 2 full days?
Mmmmmm...
So if it's not fake, you would share with us your "tip" from another world... And also elaborate a little bit on what you mean by "moderate" usage!
We are listening to you...
Hmmm... you get over 50 hours on your battery... do you use it?
Wow i see you got a nice Tread WELL DONE!!! One more Step to perfect Phone!
And Thanks for adding my tread on your main PAGE! it's an Honor!
I am now your follower
By the way my phone cant go under 925 Voltage if i set 900 on 245MHZ it's stuck in 2 seconds!
But as you know i have configured the minimal voltage script that work for me in my tweaks. bummer that my CPU like more battery!
Good Job
Thanks for your support!
This evening, I plan to:
Update first post with new settings/information
Load my JD settings (will be in post 2)
Check it out!
Thank you. Very interesting thread!
Now i feel inspired to do something for my battery...
I have a tip for battery save.
turn off network location and GPS and auto sync and switch to 2g if you can.
then when you need one of the futures just turn it on and when finish turn off.
this can save 15% battery or more.
Sent from my HTC HD2 using XDA Premium App
Looki75 said:
Uh... So you mean that you drain your battery in 50+ hours? More than 2 full days?
Mmmmmm...
So if it's not fake, you would share with us your "tip" from another world... And also elaborate a little bit on what you mean by "moderate" usage!
We are listening to you...
Click to expand...
Click to collapse
Here are my secrets juice defender ultimate on extreme and I turn on wifi whenever I want to. I also have auto killer on strict mode don't remember the exact numbers and as for my moderate usage I took 6 1minute calls and 10message received and 3 sent and a Couple of times on xda 5 minute each. Lets not forget setcpu was on on demand not over or under clocked and my profile was screen off 245 499 and my charge was 245 1190 and when battery goes under 40 its undervolted to 245 to 780. Btw I was using cmylgxo rom the lite one since I'm on European HTC hd2.l
Press thanks if I helped anyone.
Sent from my HTC HD2 using XDA Premium App
If it is everything ok with yours builds/kernell everybody should have more than 24hours on moderate use...
I mean normal batterry consumption in stand-by should be around 3-10ma depending of reception and what is turned on...
If that is not the case than you have litlle bit more than 8 hours... i mean that sucks
I thought also it's imposible but some experimenting with different build's and kernells get me to this that i can use my device for almoust day and a half without turning wifi off.
p.s. juicedefender is enabled at balanced...
Hi everybody!
I just added a lot of things in the first 3 posts!
Check-out changelog in post 3!!!
* New SetCpu profiles
* My JD settings
* and much more... !!!
Check it out!!!
very nice tips here, but am struggling with JD atm as it says the rom i use doesnt support mobile data, does your 3g work with JD activated ? if so how do i get it working for me,
thanks, great thread btw
Found room for this useful thread in my signature
To enable JD notifications or not? Because I think notifications eat battery.
LaneyEFC said:
very nice tips here, but am struggling with JD atm as it says the rom i use doesnt support mobile data, does your 3g work with JD activated ? if so how do i get it working for me,
thanks, great thread btw
Found room for this useful thread in my signature
Click to expand...
Click to collapse
Thanks for linking to my thread in your signature
If you mean Controls Tab / 3G then JD asks you to "Proceed".
When you hit the "Proceed" button, it proposes you to install "Juice Defender AOSP Helper". You should install this app and then hit "enable" in Controls Tab / 3G.
However, some ROMs do not support this function and in this case, "Juice Defender AOSP Helper" will not install. Typhoon for example does not support this soft.
Now here is something for you: you can install a soft named "Toggle2G-update.zip" (the update through CWM if you are running Gingerbread 2.3.4).
"Toggle2G-update.zip" is in this thread, with all explanations:
http://forum.xda-developers.com/showthread.php?t=739530
You can also choose another similar app (there are a lot of them).
This will perform the same than JD / Controls Tab / 3G but with a separated software.
Cheers!
radee85 said:
To enable JD notifications or not? Because I think notifications eat battery.
Click to expand...
Click to collapse
Hello,
I enabled JD notifications.
Why? Because in a glance you can know what is JD status (I use the graphical notifications).
I never noticed any particular drain related to JD notifications, and let's say to any notifications... I also heard about that but could not reproduce the drain.
If you have any precise information about a notification-caused drain, this is an interesting information that you can share in this thread.
Thanks to report your observations!
Cheers!

Battery life experience on ICS

I get Gingerbread drain overnight at about ~1% per hour maximum. No excuses anymore to stay on GB for "better" battery life. I hope this thread will allow others to achieve similar results.
This is on CM9 nightly 04-27 with devil kernel 0.77 and Nova Launcher.
I obtained this by optimizing system settings so the system uses as little battery, and using BetterBatteryStats to reduce unnecessary wakelocks. I also deleted all unneeded system apps. I've read through a couple of threads similar to this one, and this one. But I don't go to the extreme and put airplane mode at night. Just general smart phone usage I use my phone for.
I've put each setting in system with in mind to optimize battery life. This means no active sync, no Google Backup, short screen-off time, reduced brightness, UMTS only, 2G only (hardly use data as I have wifi at work and at home), no location services, rotation off and much more.
I also went through all the apps I have installed, to see if they cause any unneccesary wake locks. Superuser for one checks for outdated su binary, and creates logs. For me it's unneeded, and it uses system resource, so I disable them.
This battery cycle is with medium usage. 2 hours screen on time. Had a few phone calls, downloaded a few large files through Wifi, and had unnoticed BLN notification twice which causes my system to not sleep/drain battery more quick
The drop off at the end is 10 hours of battery statistics lost because of lock-up of system, because I re-enabled Wifi.
Here's a cycle with light usage, just usual checking of news apps, whatsapping and messing with phone, Wifi always on (even in advanced settings). 1 1/2 hour screen on time. Only difference in setting I disabled BLN, I also set a static wallpaper instead of moving wallpaper.
First @ 56% (yesterday)
BBS @ 56%
And today @39%:
With light usage I now get +3 days of usage. I'm baffled, and never expected this on ICS.
Devil specific kernel settings:
I don't use selective OC, but Ï have set Wifi to PM_MAX (better batterie life)
Here's the text from the settings I use in NStools. My system is really fast and snappy when I use it.
# v1.16
echo 1 > /sys/class/misc/deepidle/enabled
echo 1 > /sys/class/misc/devil_idle/bus_limit_automatic
echo 0 > /sys/class/misc/devil_idle/bus_limit_enable
echo 1 > /sys/class/misc/touchwake/enabled
echo 10000 > /sys/class/misc/touchwake/delay
echo smartassV2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 440000 > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq
echo 220000 > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq
echo 440000 > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq
echo 80 > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load
echo 95 > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load
echo 400000 > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step
echo 100000 > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step
echo 10000 > /sys/devices/system/cpu/cpufreq/smartass/down_rate_us
echo 30000 > /sys/devices/system/cpu/cpufreq/smartass/up_rate_us
echo 240 > /sys/class/misc/notification/bl_timeout
echo sio > /sys/block/mtdblock4/queue/scheduler
echo sio > /sys/block/mmcblk0/queue/scheduler
echo 800000 > /sys/class/misc/liveoc/oc_target_low
echo 1400000 > /sys/class/misc/liveoc/oc_target_high
echo 100 > /sys/class/misc/liveoc/oc_value
echo 110000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 110 > /sys/class/misc/liveoc/oc_value
List of apps:
And I've recently applied the same settings to my girlfriend her SGS2 with CM9, and Siyah kernel, and her battery life has never been better as well. She was amazed, she never had this battery life on Gingerbread.
Drained battery with 4 hours screen on time:
With her usage she'd normally get 1 day maximum of battery life.
Anyone else shares this battery experience with me?
PS. And I haven't even tried inverted apps to display black instead of white, and I've yet to find a modem which gives me good reception at home in urban area, where I should get green signal. (Green signal in screenshots is when I am at work, it's denser urban area)
I also haven't even applied any tweaks to build.prop to save even more battery.
Neither was I on Devil 0.79,which has even more powersaving options then 0.77.
Nice elaboration.
Yet I must object to a few points.
First off, you have to loosen up a little. Deleting unneeded apps, ok, but disabling sync, not using 3g etc... That doesn' t sound pretty smartphoney, does it?
Second, yes, battery life is great, yet deep sleep has nothing to do with it. Deep sleep (or deep idle, or didle) is only effective if you listen to music on your phone a lot. Its implications on battery life in daily normal usage are next to none. Mind you, less than none.
I never turn off my Wi - Fi or sync, brightness is at 60 percent, and i get an average of half an hour of talks a day, including viber talks, and i can still sqeeze two days of average battery life. Devil kernel has never been good for battery life for me, I see it as performance oriented.
My setup is the Tiramisu 1.9.5 rom,
MNICS 202LR kernel overclocked to 1128,
and the ZSJPG modem.
Just my two cents.
Cheers!
Sent from my SGH-I9000 using Tapatalk 2
On another note, everything on thos topic is pretty vague, because about 80% of the battery usage really comes down to the user and his usage of the phone, it's very individual.
On a third note, I presume we both don't live in an post-apocalyptic environment, where power sockets are as rare as smart politicians are today.
So if you can get by the day with your phone needs fulfilled, charge your phone.
Oh yes, and moving wallpaper is enabled and i use BLN.
Sent from my SGH-I9000 using Tapatalk 2
My battery life is just like realy bad i think. whit just 2 and a half hour, battery dropped to 78 . i got only 30 minutes screen and 5 minutes of radio on. anny suggestions how i can improve? Im on latest CM9 nightly and MNICS-202CM9 kernel
My battery life on ICS is just awesome! it's better the GB.. at least for me.
I m still confused i tried every thing remove all of the system app i use only 2g no Maps i use to watch movies and music and i even changed my battery with new one 2 days back. So the thing when i watch movies battery drop around 20% every hour on music its like 1% for 5 minutes. I use slim ics 3.5 please let me know is it ok. one more thing when i use facebook or browser on wifi battery drain like crazy 1% every 2-3 minutes. whats the cell radio and media server this process are top of battery usage !!
please guys do reply
myankt2t said:
So the thing when i watch movies battery drop around 20% every hour
Click to expand...
Click to collapse
IDK whether that's high or not. All I do is watch occasional Youtube video.
My battery life is just like realy bad i think. whit just 2 and a half hour, battery dropped to 78 . i got only 30 minutes screen and 5 minutes of radio on. anny suggestions how i can improve? Im on latest CM9 nightly and MNICS-202CM9 kernel
Click to expand...
Click to collapse
Read the 2 threads I've linked in the opening of my first post. they help
Also try BetterBatteryStats XDA Edition. First read how to properly use this app.
i haven't seen much improvement from GB i still get a maximum of 10 hours (no mobile data or WiFi with just Music) and 5.5 hours(either WiFi or Mobile Data with Social Apps and Music) on ICS(Slim edition) without putting a charger
Note: no Talk time during these sessions
Hello.Me, on Galaxy S, I have tryed till now official updates 2.3.6, also a couple of custom roms.I have tryed hard, but cant keep mz phone away from the charged once/day..I`m looking to buy a biger batery for it, till the new S3 will come out.
mariachi202 said:
Nice elaboration.
Yet I must object to a few points.
First off, you have to loosen up a little. Deleting unneeded apps, ok, but disabling sync, not using 3g etc... That doesn' t sound pretty smartphoney, does it?
Second, yes, battery life is great, yet deep sleep has nothing to do with it. Deep sleep (or deep idle, or didle) is only effective if you listen to music on your phone a lot. Its implications on battery life in daily normal usage are next to none. Mind you, less than none.
I never turn off my Wi - Fi or sync, brightness is at 60 percent, and i get an average of half an hour of talks a day, including viber talks, and i can still sqeeze two days of average battery life. Devil kernel has never been good for battery life for me, I see it as performance oriented.
My setup is the Tiramisu 1.9.5 rom,
MNICS 202LR kernel overclocked to 1128,
and the ZSJPG modem.
Just my two cents.
Cheers!
Sent from my SGH-I9000 using Tapatalk 2
Click to expand...
Click to collapse
You are wrong about deep idle. Your phone still has other processes running in background, other than you listen to music
some info on didle: http://forum.xda-developers.com/showthread.php?t=1297535
mikiept said:
You are wrong about deep idle. Your phone still has other processes running in background, other than you listen to music
some info on didle: http://forum.xda-developers.com/showthread.php?t=1297535
Click to expand...
Click to collapse
That's an oooold thread mate, your info is outdated.
http://www.xda-developers.com/andro...ry-study-brings-about-surprising-conclusions/
Battery life? What LIFE?? This is not a life at all :-( :-( :-(
Generally, SGS has very bad battery life.
Mines been amazing on AOKP 32
Read the 2 threads I've linked in the opening of my first post. they help
Also try BetterBatteryStats XDA Edition. First read how to properly use this app.
Click to expand...
Click to collapse
i did read them and i did alot of those things. i just kept the settings i needed. but my battery life is still worse. i don't think its the rom or kernel to becouse in the forums of them people got great battery life whit rom and kernel. I don't know what to do
my screen is on lowest brightness all the time btw.
Use betterbatterystats to find why ur phone doesnt sleep. Looks ok in your stats until your first time screen on. Something keeping your phone awake and drain battery.
I already did but for i can see, it's only a few little things like audioout , activitymanager-launch mediascanner..... . Could it be whatsapp thet couses it? since i get notifications like every 5 minutes or something?
anyone?
I've tried team icssgs but didn't have it long enough to really judge the battery life, but at the moment I'm using Slim ICS with semaphore1.1.1s and the Im down to 50% battery and it's been on for over 12 hours. Admittedly light usage but still pretty good considering with stock GB i got roughly 7 or 8 hours and it was gone.
I think most of the 4.0.4 ROMs last longer than most Gingerbread ones.
Gesendet von meinem GT-I9000 mit Tapatalk 2

[BATTERY LIFE] How to get up to 7+ hours of screen-on-time with the Xperia Z

Many battery-life-tips mentioned here DON'T need any modifications to your Z.
Please don't post discouraging things like...
-"Why all the fuzz? Buy a external battery"
-"Why BLunlock/undervolting/-clocking/rooting and voiding warranty?"
...we all know that.
There are many factors influencing screen-on-time. Please read the must-read-section before you judge my thread.
THIS THREAD IS ABOUT OPTIMIZING BATTERY LIFE OF THE SONY XPERIA Z WITHOUT SACRIFICING TOO MANY FEATURES OR MUCH OF USER EXPERIENCE/PERFORMANCE. THIS IS A UNFINISHED ONGOING PROCESS.
Don't forget: If you like what you read, please press the thanks-button.
TABLE OF CONTENTS
I. INTRODUCTION
I.1 Prologue / Must read
I.2 My average usage pattern
I.3 Change-Log
I.4 To-do
II. BATTERY SAVING TIPS
II.1 General-section (tips everyone can apply)
II.1.1 Tips I use
II.1.2 Tips I don't use (but you can)
II.2 Root-section (additional: tips for rooted devices)
II.2.1 Tips I use
II.2.2 Tips I don't use (but you can)
II.3 Bootloader-section (add.: tips for bootloader-unlocked devices)
II.3.1 Tips I use
II.3.2 Tips I don't use (but you can)
III. MISC
III.1 Thanks to
III.2 Translations
III.3 Results
I. INTRODUCTION
I.1 Prologue / Must read !
Hi everyone,
First I should introduce myself a little: I'm from germany, 24 years old and currently studying technology of information systems. Since xda helped me alot, I also want to share with you all I know about optimizing battery life.
A XZ with all-standard-settings (without my tips) currently only gets approx. 4,5-5 h with my average usage pattern. And max. 3,5 hours with heavier usage (while travelling e.g.). With heavy games even less.
After implementing my tips I often get 7h+ of REAL USAGE battery life (=screen-on-time = SOT =s-o-t) with my Xperia Z. Sometimes I even get more SOT: see e.g. my screenshots of 7:09 h SOT with remaining 6% and 20 hours since last charging. But I also sometimes only get 5 hours (with heavier usage, while travelling e.g.).
I'm not bragging, please do not misunderstand me. If we crippled all smartphone-features, turned everything off and only read books with the XZ, we could even get 9-10 hours SOT...but thats not what I want to achieve!
There are many factors influencing screen-on-time: Your individual usage, your individual apps, your apps' (obligatory) wakelocks, your cell/data/wifi receiption during the day, provider-support of fastdormancy, your XZ's undervolt capability, ...
Also everyone has his own taste:
Some like 1.5 GHz+4cores+100% brightness all day+5 homescreens+... And some don't.
I only write down ALL tips I know/find. I do not use every single one of them, because some would lower my comfort. But I write them down for you, because I respect everyones individual usage. So please don't blame me for everything or talk bad about my thread in other threads.
You can decide which tips you like to use, which you don't.
Greetings
Seb
I.2 My average usage pattern
- browsing a lot with dolphin browser (sonar etc. disabled with elixir; 'Google Chrome' consumes too much battery, causes many wakelocks and has no flash-support)
- reading hundrets of tech-news with gReader (almost all news include pictures and some videos; hardware acceleration on)
- listening to music with walkman (20 min/day)
- watching some youtube (at least 3-4 videos; each 2 to 15 min long)
- reading for about half an hour (with kindle app or adobe reader)
- usung tapatalk for xda a lot
- whatsapp a lot
- reading many mails with KAITEN MAIL (many include pdf) and let synchronize 2 of 4 email accounts every 3 h and the remaining 2 every 6 h
- sms: 1/day
- calls: 20min/day
- photos: 2/day
- using wunderlist
- checking ebay: 1x/day
- VNC to enter business-pc remotly 2x/day (5-10 min)
- a lot 9gag
- Widgets on 2 homescreens:
4x Kaiten Mail-Widgets (counters for unread emails)
1x Walkman-Widg.
I.3 Changes to this post
31.12.13
- corrected formatting
27.12.13
- Updated and added many new tips to bootloader section (e.g gpu-undervolting!)
- Updated and added many tips to root section
- Updated general section slightly
- Updated prologue slightly
- Updated usage pattern slightly
- NEWS1: Switched to XzKernel by alnikki25k because it currently offers more features, runs smoother and gets updated more frequently
- NEWS2: Lifted my max. cpu-freq from 1.24 to 1.35ghz, which won't effect battery life too much anylonger ( -15 min SOT)
Earlier changes: deleted because of limited space
I.4 To-do
- add measurement-section
- give some milliampere-values
- Shorten all sections/texts/tips
- Find the holy grail of battery life saving
II. BATTERY SAVING TIPS
II.1 General-section
II.1.1 TIPS I USE:
- Update to Android 4.2.2 (currently use stock-sony-firmware .67), but will switch to 4.3 as soon as we get a working custom kernel for it
- if contract has no LTE/4G, so set the network mode to wcdma/gsm (the LTE/4G-chip sucks a lot of battery (better disable it, if you don't need more than the 21 Mbit/s 3G/hsdpa+ provides)
- If you can choose: use Wifi over 3G over LTE (in general). But if 3G connection is fast and wifi very slow, use 3G! Avoid LTE/4G if you do not need more than 21 Mbit/s.
Use "ONLY 2G" only if 3G receiption is extremly poor and as slow as 2G, but 2G receiption is great.
- stamina on (only whatsapp whitelisted). Reset stamina mode if it doesn't work properly (clear cache). Stamina is (mostly) better than turning phone off several times per day, because boot consumes too much battery (especially if many apps load at boot).
- battery settings > battery save mode: on (from 100%; excluding wifi+auto sync)
- wifi set to not search for networks/no notification,
- wifi set to stay always on (turning off during standby will help battery, but every custom kernel has an issue with the wifi drivers, so set wifi to "always on" which circumvents this issue),
- Brightness set automatically to 25% during the day and 0% in the evening with my TASKER-profile (below). more info in root-section.
- NFC off (only on when needed)
- Bluetooth off (only on when needed)
- GPS off (only on when needed)
- charging at 6-10% remaining battery (below could harm your battery and decrease battery life over time...but this is a highly controvertial topic, so I charge at 10% to be on the safe(r) side)
- Reduce wakelocks:
- Install 'Wakelock Detector' to find partial wakelocks and alarms which wake the XZ during standby. Many unnecessary wakelocks can easily be reduced (like fastdormancy). But some may need root access. Here is a very helpful link for wakelocks: http://forum.xda-developers.com/showthread.php?p=38629490#post38629490
- In settings > apps > all apps > select an app: Deactivate the notifications of all apps you don't want to be notified by. Can reduce wakelocks!
- Turn OFF 'developer settings' when not using it (stops their services, wakelocks)
This section will grow in time!
- Google Now off: long-press on home-button > google search > settings > turn google now off
- Let your Wifi-Router always work with 100% signal-power, wifi g+n. This way you will get better wifi-receiption with your Z (might squeeze some minutes/your phone won't connect to data unnecessarily)
- Don't overprotect your phone with metal cases over metal cases Receiption of Cell, 2G/3G/LTE, Wifi, Bluetooth etc. will decrease and your battery life too (a lot)
- Turn Restore & Backup off: settings > restore & backup
- Google Settings App > Location > Turn OFF: Location history + location protocol /summary(? don't know the english name of that button)
- Google Settings App > Search > Turn OFF: Webprotocol + search-results shall not include apps/... (deactivate anything you don't need)
- Deinstall or deactivate FACEBOOK, if you don't use it. If you really need it, change the notification settings + update settings + push-settings according to your REAL needs. This app is a hugh battery consumer and it causes far too many wakelocks which will prevent the phone from entering sleep modes (even when the phone is not being used).
- Settings > Sound(?) > Turn OFF: vibration when touching screen + sound for every screen press + sound for unlocking + xloud + sound for call-buttons
- Settings > Accounts > Google > Turn OFF: google-personalized-advertising + every synchronization you don't need (I don't sync apps and google books because I use Titanium Backup)
- Often forgotten but basic tip: Search for unnecessary settings or battery saving features in the settings of your favourite apps. E.g. many apps allow to deactivate unnecessary settings or ugly special effects/animations which drain battery. OR many apps let you deactivate (maybe in your case: ) unnecessary push notifications...
- Settings > Display > Sleep > After 1 Minute (mostly sufficient)
- Update your apps regularly, because new versions often improve performance, battery drain, wakelock-issues etc. Still: make backups!
[/HIDE]
II.1.2 TIPS I DON'T USE (but you can):
- Display brightness always at 0%
- Wifi set to "save battery when connected" (may cause problems with some custom kernels, so I currently don't use it!)
- Data/cell/wifi/bluetooth always off (e.g. if you only play games/read books)
- Calibrate your battery (this can bring back 5-10% of your battery life, depending on its condition). This tip was discussed a lot. I didn't calibrate my Zs battery yet. Everyone says something different and the manufacturers like sony give instructions for (first) battery cycles... So I leave it up to you to decide if its a myth or not
- Set all animations in dev-settings to 0 x (settings > about phone > press 10 times on the built-number > go back and now you got the dev-settings below)
- Sleep screen after 15 sec
- Turn background sync and auto-sync and google account sync OFF
-Reduce every wakelock possible by spending hours for finding their causes, deinstalling/deactivating all thats necessary to reduce it...etc...
II.2 Root-section
II.2.1 TIPS I USE
- Installed TITANIUM BACKUP PRO and deleted all bloatware/google apps/..
All I didn't need or like or which drained too much battery.
Here is a list of all deleted apps:
com.android.providers.partnerbookmarks.res.overlay
com.sonyericsson.android.socialphonebook.res.overlay
com.sonyericsson.trackid.res.overlay
com.sonymobile.connectivitycenter
Sapphire 10.0.A.0.16 (com.sonyericsson.bluetheme)
Silk 10.0.A.0.16 (com.sonyericsson.blacktheme)
VerifyCertificatesDummyApp
Xperia Twitter Setup
com.sonymobile.datadisclaimer
Anonymous Usage Stats
com.sonymobile.cameraautoupload
Backup-Restore
com.sonyericsson.lockscreen.uxpnxt
Black Hole
Bubbles 1.0
com.android.backupconfirm
com.android.providers.partnerbookmarks
com.android.sharedstoragebackup
com.google.android.voicesearch
com.sonyericsson.unplugchargerreminder
Converter 6.1.1 (com.sonyericsson.androidapp.converter)
Device Usage 1.0.A.0.11 (com.sonymobile.phoneusage)
E-Mail 4.0.1 (com.android.email)
com.sonyericsson.retaildemo
Emerald
com.sonyericsson.music.wikipediaplugin
com.sonyericsson.music.youtubeplugin
com.sonyericsson.music.youtubekaraokeplugin
com.sonyericsson.music.googlelyricsplugin
Exchange Services
Face Unlock 4.1.2-509230 (com.android.facelock)
foursquare 2012.03.09 (com.joelapenna.foursquared)
Infinite view 10.1.A.0.0 (com.sonyericsson.infiniteview)
com.sonyericsson.androidapp.memorycardinstaller
Market Feedback Agent
Mono 6.1.A.0.1 (com.sonyericsson.android.pobox.skn.mono)
com.sonyericsson.metadatacleanup
OMA Client Provisioning
Oma Download Client
OmaV1AgentDownloadServices
Picasa Uploader
Pico TTS
POBox Touch
Quartz
Remote Control Service
com.sonyericsson.vendor.backuprestore
SkinSelector
Smart Connect
com.android.voicedialer
Tags
TalkBack
TrackID
Update Center
com.sonyericsson.verifycertificatesdummyapp.application
com.sonyericsson.verifycertificatesdummyapp.platform
com.sonyericsson.verifycertificatesdummyapp.shared
com.sonyericsson.advancedwidget.weather
Wfd Service
Woody
Xperia AppShare
Xperia Calendar Sync
Xperia FB Setup
Xperia Friends’ Music
Xperia Link
Xperia Music Likes
com.sonyericsson.facebook.proxylogin
com.sonymobile.twitter.account
Xperia Share
Xperia Social Engine
com.sonyericsson.socialengine.plugins.facebook
com.sonyericsson.socialengine.plugins.picasa
com.sonymobile.socialengine.plugins.playmemories
com.sonymobile.socialengine.plugins.facebook_sharefrwk
com.sonymobile.socialengine.plugins.twitter_sharefrwk
com.sonyericsson.androidapp.everchwallpaper
Google Chrome
+ all branding-/carrier-specific apps
- Installed ELIXIR2 and deactivated all kinds of entries I don't need. Examples of activities/receivers/services you can disable:
BE CAREFUL:
If you deactivate vital activities/services/receivers of an app the apps won't work properly anylonger or the app will crash. But thats no problem! Just check the apps and and activate activities/services/receivers e.g. one-by-one to find the cause of the crash and leave it activated.
Deactivate e.g. every ACTIVITY that says (differs from app to app):
-facebook.login
-.analytics.
-.tracking.
- google.ads.AdActivity
- .googleplus.
- .gtalk.
-.ads.
-.voicesearch.
And all kinds of RECEIVERS that will boot apps at boot (if not necessary):
-.onboothandler.
-.bootreceiver.
-.devicestartup.
And SERVICES:
-again: .analytics.
-.gtalk.
-googleplus.
- Install GREENIFY+donation-version (needs Xposed Framework!). Then activate all experimental options like boost mode, gcm push, greenify system apps...
and after that greenify some system apps like google maps etc. (according to your needs)
- Installed Xposed Framework and following modules:
1. "Greenify" (donation-version necessary) and activate all options
2. "BootManager". Deactivate all apps you don't want to load when starting up
3. "ReceiverStop" (if you didn't like Elixir2): Deactivate all unnecessary receivers
4. "App Settings": reduce permissions if necessary
5. "Per App Hacking": prevent services and wakelocks, but becareful...
It can cause apps to not work anymore!
6. "YouTube AdAway": especially helpful fot those watching alot. Why drain battery for ads?!
- Installed TASKER and SECURE SETTINGS (and its helper; see settings).
I currently automated following things (you can also download my tasker-backup below):
Tasker is consuming little power in the background, but is a powerfull tool.
My Tasker-Profile isn't very sophisticated. Working on it, but don't want to use other peoples profiles. You can deactivate/change any feature easily in tasker, if you don't want to use it:
- 18:00 until 08:00 o'clock (6PM till 8AM): Brightness set to 1% (in the evenings 1% is enough mostly and reduces consumption by a high margin) + Turn Rotation off
- Rotation only ON with certain apps and automatically turn off
- Hibernate with Greenify every 3 hours (sometimes the built in autohibernation of greenify won't work, so tasker triggers
- GPS ON when GOOGLE MAPS, NAVIGATION start and turn OFF automatically when closed
- Turn OFF Data when connected to Wifi since 5 Minutes
- Install BuiltProp Editor and add these lines to the end of the built.prop:
(Thanks to …… for this tip):
#signal tweak
ro.ril.enable.3g.prefix=0
ro.ril.enable.dtm=0
ro.ril.hep=0
ro.ril.hsxpa=5
ro.ril.enable.a53=1
ro.ril.gprsclass=12
ro.ril.hsupa.category=9
ro.ril.hsdpa.category=36
____
This will increase receiption by lifting 2G/3G-settings. It increases battery consumption, but over the day the better receiption makes up for that (at least for me).
II.2.2 TIPS I DON'T USE
- ELIXIR2 is hardcore...you could even deactivate EVERY button/activity/service (those which you asume you won't ever need) of all your apps...could save some processing time and therefore battery life
-Installing ES EXPLORER and deleting in the apps-folder:
fast dormancy.apk and .odex ( both ONLY if your provider doesn't support fastdormancy)
-Reducing Wifi-consumption by editing the ini-files in etc/firmware/wlan/prima/
-Reducing 2G/3G/LTE-consumption by editing their ini-files
-With Overlays (App) we can make buttons/switches hovering over apps. In some cases it could save battery (especially in combination with tasker and zoom).
-I tested wether the LTE-Switch for the upper menu will switch back the network mode to "GSM" (=2G) if I activate and then deactivate LTE... Worked! The LTE-switch turns on 2G+3G+LTE but my contract doesnt have LTE so maybe the LTE-chip won't consume anything after a first connection attempt... Then the LTE-switch would effectivly be a 2G/3G-switch for me Update: Switching back and forth is uncomfortable and automation isn't possible without deep rom-modifications... a dead end currently
II.3 Bootloader-section
II.3.1 TIPS I USE:
- Flash @alnikki25k 's custom stock kernel XzKernel
- In TRICKSTER MOD + FAUXCLOCK (!!) do following:
0. Set CPUs to 384 mhz - 1,35 ghz
1. Governor to intellidemand (settings: see below)
2. Set scheduler to 'sio'
3. Underclock the GPU to 325mhz and set gpu-scheduler to "ondemand"
4. Multicore power saving = 0
5. Dynamic FSYNC = on
6. Ecomode = on
7. Mp-decision = off
8. Intelli-plug = on
9. ZRam = off
9.1 Delete VFS cache after boot: on
9.2 Auto FS Writeback: on
9.3 swappiness: 0%
9.4 vfs cachepressure: 150%
9.5 dirty ratio: 20%
9.6 dirty background ratio: 5%
9.7 TCP congestion control: westwood
10. Read_ahead (emmc + sdcard): 2048 mb
10.1 Entropy (emmc + sdcard): off
11. Frequency Lock = on
12. In faux clock: activate c0, c1, c2 and c3 states
13. IMPORTANT TIP FOR SMOOTHNESS: Deactivate gpu's vsync (activate it if you are a egoshooter-gamer)
14. In faux clock: Set a profile for every app which does (or does not) need much performance. Here is an examples:
'Whatsapp' doesn't need high cpu-freq and 400 mhz gpu-freq to run smoothly. We can set a profile for it with these settings:
Min freq: 384 mhz
Max freq: 1188 mhz
gpu freq: 200 mhz
ecomode: on
FOR GAMES you could e.g. slightly overclock frequencies, turn ecomode off and use 450 mhz gpu-freq
14. CPU: Undervolt to these VOLTAGES (ONLY IF YOU KNOW WHAT YOU ARE DOING !!) :
Please ONLY undervolt when you already know all about it...and undervolt slowly (in -25 or -50 mV steps e.g.)
until you reach a stable new voltage for each frequency. Always test several times with benchmarks and all your apps and for 1h at least
MY (VERY LOW) VOLTAGES MIGHT NOT WORK FOR YOUR XZ !
MAKE BACKUPS BEFORE YOU TRY ! IF YOU DON'T HAVE ACCESS TO A PC: KEEP A ROM AND A KERNEL ON YOUR SD-CARD. ALSO MAKE BACKUPS WITH CWM
I assume everyone trying this will know about
the dangers of playing with voltages.
*
[Mhz : sony's standard mV : mV working properly for my Z ]
192 : ---- : 712
384 : 850 : 712
432 : 875 : 712
486 : 875 : 725
540 : 900 : 725
594 : 900 : 725
648 : 925 : 750
702 : 925 : 750
756 : 975 : 750
810 : 975 : 800
864 : 1000 : 800
918 : 1000 : 825
972 : 1025 : 850
1026 : 1025 : 875
1080 : 1075 : 900
1134 : 1075 : 912,5
1188 : 1100 : 912,5
1242 : 1100 : 935
1296 : 1125 : 962,5
1350 : 1125 : 975
1404 : 1137 : 977,5
1458 : 1137 : 987,5
1512 : 1150 : 1025
-Governor-Settings (BE CAREFUL):
As the intellidemand governor got a big update (but almost no descriptions for the new features/settings), here you get my latest settings:
Governor = intellidemand
____
freq_step = 15
enable_boost_cpu = 1
input_event_min_freq = 384000,384000,384000,384000 // #
down_differential = 8 // #
ignore_nice_load = 0
io_is_busy = 1
optimal_freq= 1350000 // #
powersave_bias = 0
sampling_down_factor = 9 // #
sampling_early_factor = 9 // #
sampling_interim_factor = 9 // #
sampling_rate = 50000 // #
smart_each_off = 0
smart_high_slow_up_dur = 5
smart_high_slow_up_freq = 1350000
smart_slow_up_dur = 5
smart_slow_up_freq = 1350000
smart_slow_up_load = 90 // *
smart_up = 0
step_up_early_hispeed = 1242000 // #
step_up_interim_hispeed = 1242000 // #
sync_freq = 810000 // #
two_phase_freq= 384000,0,0,0
ui_sampling_rate = 50000
ui_timeout = 100
up_threshold = 86 // *
up_threshold_any_cpu_load = 90 // *
up_threshold_multi_core = 93 // *
_____
If its laggy for your taste:
1. make sure its no thermal issue or related to the rom itself;
2. Turn these ( // *) down. And these ( // # ) up. But search for their meanings first!
-GPU: undervolting (ONLY IF YOU KNOW WHAT YOU'RE DOING!):
Easiest way I know (until fauxclock/trickster support this feature):
Install "universal init.d", choose any available init.d-script (custom kernels often flash some along the way), add following in it and save:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
The numbers (e.g. 930000) are in uVolt for See alnikki25k 's XzKernel-Thread for more info! I highly recommend reading that first!
Becareful: after flashing a new kernel(-version) this added code will likely vanish.
If you know how: just make your own init.d-script, wait for fauxclock/trickster
or just readd it manually again
II.3.2 TIPS I DON'T USE (but you can):
- Thanks @Destroyedbeauty: Instead of using apps like fauxclock/trickster mod you could also just write your own init.d-scripts which would cost nothing and lead to slightly less battery drain (+5 min). I don't use this tip YET, because these apps really don't consume that much. Still a very clever tip!
III. MISC
III.1 Thanks to
People I need to thank for various reasons (in no special order):
@DooMLoRD
@alnikki25k
@gm007
@[NUT]
@Dsteppa
III.2 Translations
I'm very thankful for everyone helping me translate this thread!
(Don't forget: translations can't be always up to date and won't be monitored by me)
-French-Forum (thanks to @monsieur_debile):
http://forum.frandroid.com/topic/16...-plus-de-7-heures-dautonomie-en-écran-allumé/
III.3 Results
-Antutu Benchmark 4: Instead of approximativly 20500 points (standard Z) I currently get approx. 15000. I currently give a damn about benchmarks Will try to improve in the future as promissed
RESULTS WITH REAL USAGE (For those who think I only leave the screen on):
- with my average usage pattern (see beginning of post) in "one sit" I got 7h S-O-T with 10% left battery charge and 9 hours since last charge: See screenshots.
- With my average usage pattern (see beginning of post) on a NORMAL day going to office etc. I got 7:09 h screen-on-time with 6% charge left and 20h since last charge: see screenshots.
- (almost) ONLY reading books, xda, news with gReader, surfing and with a bad phone receiption all day(!) I got 8h screen-on-time with 3% charge left and 12,5 h since last charge.
- Playing Deadtrigger for 0,5h I lost 14% battery life (graphics set to high), so with a full charge I approximativly could get 3,5 h (consider: Deadtrigger isn't optimized very well for non-nvidia-tegra3-hardware so it uses the Z inefficiently and I played with 'high' graphic settings)
If you like what you read: press the thanks-button and rate my thread with 5 stars
One question: Was this done indoors. Like in your room or office, just sitting playing with the device?
And that was a short "stint", I mean 7 hours of screen and 8 hours since the last charge. If you counted idle times, in like a 15 hour stint, screen time would be greatly reduced, plus, if you commute the phone is constantly looking for antennas, thus reducing screen time further.
7 hours is great. But this seems to be on "ideal conditions".
As for my methods of saving battery? 2G all the time. Undervolt. No Underclock. Greenify. Stamina Whatsapp only.
The important question is, what have you been doing ? Did you play games? YouTube? Or did you just let the screen active?
Gesendet von meinem C6603 mit Tapatalk 4 Beta
sea2605 said:
Since xda and its forum helped me alot in many ways, I also want to share something with you, that might solve many users biggest complaint: battery life.
I optimized my battery life so I regularly get 7 hours of battery life (sometimes even more, see screenshot with 10% remaining battery at 7:00h screen on time)... and all that with very normal usage (but no games) and without any sacrifices for me.
Tried many (...!!) methods to optimize but sticked only with those truly making a difference after testing.
________________________________
!!
I'm going to update this thread regularly until I wrote down all details and until I stop optimizing battery life
Lets work together: Tell me your battery life tricks!
Maybe in some weeks/months we can get to 8-9 h of battery life without too large sacrifices
!!
________________________________
HOW I did it (roughly summed up for the moment):
0. Updated to 4.2.2 (no 4.1.2 didn't give me more battery life).
1. Bootloader unlocked (essential, but will void warranty).
2. Rooted
3. Flashed doomkernel v9 via fastboot
4. Installed kernel tuner and underclocked the cpus to 1,24 ghz, changed governor to ondemand,
Undervolted like this (phone is still veeeery fast! No perfomance issues!):
Coming soon
5. Installed titanium backup pro and deleted all sony bloatware/google apps/other apps... All I didn't need or like or which drained too much battery. Here is a list of all deleted apps etc.:
Coming soon
6. Installed elixir2 and deactivated google-ad- and/or google-analytics-entries in all of my apps. Also all features I didn't need in my apps (e.g. I dont want to share everything in.every app with facebook so I deactivated those entries).
I deactivated all voicesearch-entries as I don't like it yet...(Even apples siri isn't great yet in my opinion...maybe in 2-3 years . I also deactivated google now-entries (not google-search!) since it drains a lot and I don't need it.
7.
X. Rather standard things:
- My contract has no LTE so I set the network mode to wcdma/gsm,
-stamina mode on (only whatsapp whitelisted),
- battery save mode on (from 100%; excluding wifi and auto sync),
- wifi-location-based on,
- wifi set to not search for networks,
- wifi set to stay on during standby only when connected (turning off during standby might help some of you, at least those who don't look at/need their phone and need it to be instantly connected),
- Wifi set to save battery
- To be continued
________________________________
I see more potential (but some with sacrifices):
1. With Tasker (thats an app) you could get a little (or quite much) extra battery life (depending on what you are willing to sacrifice...)
2. Future doomkernels could allow for more finetuning of the cpu and gpu (e.g. gpu-underclocking hat sticks; maybe we have some luck and we could undervolt the gpu )
3. elixir2 is hardcore...you could even deactivate EVERY button/activity/service (those which you asume you won't ever need) of all your apps...could save some processing time and therefore battery life
4. Governor wheatley and optimizing it's governor settings would give more juice but it slows all too much down in my opinion...but can lead to +0,5 h!
5. Even further killing some wakelocks with betterbattery
6. Reducing tx of the Wifi-antenna (but reducing tx only helps while downloading, I guess...)
or other antennas...
7. Installing es explorer and deleting fast dormancy app and odex ( both only if your provider doesn't support fast dormancy) in the apps-folder
8. Underclocking min. Frequency to 192 mhz (might help +5-10 minutes but slows phone down a little)
9. Maybe a little further undervolting (+5-10 min, but stability might be a problem...)
10. To be continued
THIS IS NOT READY YET...please wait patiently for more details etc!
Lets work together: Tell me your battery life tricks!
Click to expand...
Click to collapse
I easily get 8+ hours of screen-on time....my tricks for that are as follows,,
1)Root(obvious )
2) download greenify (a must-have by oasis feng)and greenify almost all apps(including games) expect some messaging apps(apps shown with gcm logo in greenify) ,,,and if you want to get that lil extra minutes then go for the donation version of greenify, it lets you greenify some system apps to....also don't kill apps with appkillers(real battery hog)
3) Switching Stamina mode On(especially after the 4.2.2 update)...and carefully selecting only "most needed" apps to be excluded (if you don't want to break notifications)
4)download startup manager..and disable all unwanted apps at startup
5)remove all unwanted bloatware and battery saving apps(they usually do nothing to save your battery,instead they run in background and eatup your battery)
6) no under-clocking, no over-clocking
7) maintain a healthy battery charge history ( don't charge unless battery is less then 20%.,,then charge without interrupting to 100%(don't keep it charging for to long if it reaches 100%,,this will over-charge the battery)
8 ) If you're on 4.2.2 ,,surely you're facing the battery bug,which is really dangerous for the battery (because it bring the battery % down to zero ,without giving you a chance to reach your charger)....So to fix this you'll need to recalibrate your battery by downloading easy battery calibration from playstore (I've calibrated my battery and fixed the bug )...the app will guide you how to calibrate the battery(easy)
9 ) Don't use the "trickle charging" method recommended by some battery saver apps...I've used that method and it shows no improvement in battery life instead it'll drain the battery in a very strange manner ("modern"Li-on batteries should not be trickle charged Google it if you need more info on this subject)
Use this tricks and you'll definitely notice improved juice
More tweaks and tricks for a better battery going to be updated soon(as soon as I'll test and confirm them)...
If you feel that I've helped you in any way,,please hit the thanks button
Sent from my Xperia ZL (C6502) using Tapatalk 4 Beta
Point nr 6 is not true. Best for batery is when working between 50-85%. Battery will not overcharge because phone turn off charging, when battery reaches 100%. You can charge phone even when reaches 90% or 60%. Dont have to wait till 20% (sooner pluged - better for battery).
Sorry for bad english. Regards...
Media Server
Place a ".nomedia" file in directories of your sdcard(s) you don't want scanned so media server doesn't suck all the battery!
Grenify works but not sure about the effectiveness of startup manager. Apps disabled seem to load at startup regardless.
adielee said:
Place a ".nomedia" file in directories of your sdcard(s) you don't want scanned so media server doesn't suck all the battery!
Grenify works but not sure about the effectiveness of startup manager. Apps disabled seem to load at startup regardless.
Click to expand...
Click to collapse
Once you grant root access to startup manager it disables all the apps you've selected not to start at the startup...try it for yourself
If you feel that I've helped you in any way,,please hit the thanks button
Sent from my Xperia ZL (C6502) using Tapatalk 4 Beta
Rumman Shaikh said:
I easily get 8+ hours of screen-on time....my tricks for that are as follows,,
1)Root(obvious )
2) download greenify (a must-have by oasis feng)and greenify almost all apps(including games) expect some messaging apps(apps shown with gcm logo in greenify) also don't kill apps with appkillers..
3)download startup manager..and disable all unwanted apps at startup
4)remove all unwanted bloatware and battery saving apps(they usually do nothing to save your battery,instead they run in background and eatup your battery)
5) no under-clocking, no over-clocking
6) maintain a healthy battery charge history ( don't charge unless battery is less then 20%.,,then charge without interrupting to 100%(don't keep it charging for to long if it reaches 100%,,this will over-charge the battery)
Use this tricks and you'll definitely notice improved juice
Click to expand...
Click to collapse
Sure you get 8 hours screen on time with only that and a normal usage (see my average usage)? If yes: I'm an idiot... why did I even bother with all the other crap
adielee said:
Place a ".nomedia" file in directories of your sdcard(s) you don't want scanned so media server doesn't suck all the battery!
Grenify works but not sure about the effectiveness of startup manager. Apps disabled seem to load at startup regardless.
Click to expand...
Click to collapse
nomedia is a great idea ! Will try it ! :good:
ckyy said:
The important question is, what have you been doing ? Did you play games? YouTube? Or did you just let the screen active?
Gesendet von meinem C6603 mit Tapatalk 4 Beta
Click to expand...
Click to collapse
Updated my first post! See "average usage pattern" on that single day.
DrKrFfXx said:
One question: Was this done indoors. Like in your room or office, just sitting playing with the device?
And that was a short "stint", I mean 7 hours of screen and 8 hours since the last charge. If you counted idle times, in like a 15 hour stint, screen time would be greatly reduced, plus, if you commute the phone is constantly looking for antennas, thus reducing screen time further.
7 hours is great. But this seems to be on "ideal conditions".
As for my methods of saving battery? 2G all the time. Undervolt. No Underclock. Greenify. Stamina Whatsapp only.
Click to expand...
Click to collapse
In some way you could say I tested in ideal conditions as I tested only in "one sit", right (weekend, got bored; but see my
usage pattern...great battery life considering that). But nevertheless:
Roughly we can say, all these methods aggregated will give everyone at least 40-60% more battery life (in relation to their
previous battery life). Thats no exaggeration...UnderVOLTing alone will lead to approx. 15-25% more battery life
...thank @DooMLoRD and his kernel for that!
So someone who only got 4h with his very own usage pattern will now get 6h.
Someone who only played games will get 3 h instead of 2 h...
Someone with a similar usage pattern to mine will get 7 h instead of 4,5 h (my starting point when I bought it)
etc. pp.
EDIT:
even on a normal workday (not "one sit") I get 7+h screen on time and 20 hours since last charge and 6% remaining battery. See my post of 2. August !
I didn't find an option to stop searching for Wifi networks, but I installed an app from google play to automatically turn off wifi when not connected, disbled NFC because I never used it, installed Juice Defender to disable 3G when I don't need it, used greenify on most of my apps, lowered brightness a bit and underclocked and I see some substantial improvement right away.
thanks for sharing your undervolt settings, might try later.
sea2605 said:
Sure you get 8 hours screen on time with only that and a normal usage (see my average usage)? If yes: I'm an idiot... why did I even bother with all the other crap
nomedia is a great idea ! Will try it ! :good:
Updated my first post! See "average usage pattern" on that single day.
In some way you could say I tested in ideal conditions as I tested only in "one sit", right (weekend, got bored; but see my
usage pattern...great battery life considering that). But nevertheless:
Roughly we can say, all these methods aggregated will give everyone at least 40-60% more battery life (in relation to their
previous battery life). Thats no exaggeration...UnderVOLTing alone will lead to approx. 15-25% more battery life
...thank @DooMLoRD and his kernel for that!
So someone who only got 4h with his very own usage pattern will now get 6h.
Someone who only played games will get 3 h instead of 2 h...
Someone with a similar usage pattern to mine will get 7 h instead of 4,5 h (my starting point when I bought it)
etc. pp.
Click to expand...
Click to collapse
Yes,,I'm really getting great screen times(one thing in my favour is that we don't have LTE here in India,& I use a 2g network(since I've a great lan ) so I've disabled wcdma network type & selected only gsm) I even play some graphic intensive games for "sometime" in my normal usage ...see the attached screenshot for details of my usage... Also I would like to add that the switching on the stamina mode is a must(mainly after the 4.2 update) But I'm still trying to squeeze even some extra juice...will update with some more extra tweaks,, after I try them out
If you feel that I've helped you in any way,,please hit the thanks button
Sent from my Xperia ZL (C6502) using Tapatalk 4 Beta
Ill rather use the charger then unlock the bootloader and spend numerous more hours just to get a couple of extra hours screen time as if its a competition lol.
Seriously I can get 6 hours+ screentime with stock 4.22 rom, no root, no bootloader unlocking.
Wifi on, auto sync on, brightness at lowest, stamina on. All I do is read a book from amazon kindle app, lol.
Well, of course no one has to chase maximum battery life... I'm chasing for it out of curiousity... Its only a challenge
But along the way I learn something new about android, smartphone-architecture, linux, ... Might someday be useful (I'm about to study technology of information systems)
Thats all forums/xda/communities exist for: Learning something new and sharing your knowledge
My undervolt goes from
192mhz @ 662mV to 1512mhz @ 975mV on Doom's Kernel.
On FXP Kernel I could go lower. 650mV to 950mV. Although even at those voltages, battery life on CM or AOSP is like 30% lower.
rotkiv3451 said:
I didn't find an option to stop searching for Wifi networks
Click to expand...
Click to collapse
Bump for op. How did you do that?
Turning of that it stops searching for wifi networks.
Now that I arrived home I can write my whole voltage list:
192 mhz @ 662 mV
384 mhz @ 675 mV
432 mhz @ 700 mV
486 mhz @ 700 mV
540 mhz @ 712 mV
594 mhz @ 712 mV
648 mhz @ 737 mV
702 mhz @ 737 mV
756 mhz @ 737 mV
810 mhz @ 787 mV
864 mhz @ 787 mV
918 mhz @ 837 mV
972 mhz @ 837 mV
1026 mhz @ 887 mV
1080 mhz @ 887 mV
1134 mhz @ 912 mV
1188 mhz @ 912 mV
1242 mhz @ 937 mV
1296 mhz @ 937 mV
1350 mhz @ 962 mV
1404 mhz @ 962 mV
1458 mhz @ 975 mV
1512 mhz @ 975 mV
Tested throughout 3-4 weeks. Rock solid stability.
There is a way to know beforehand if your chip can go as low voltages as this:
http://forum.xda-developers.com/showpost.php?p=39373866&postcount=124
First entry is deactivating the intervall-searching for wifis, as far as I can tell
sea2605 said:
First entry is deactivating the intervall-searching for wifis, as far as I can tell
Click to expand...
Click to collapse
I don't think so. As far as I can understand, that option just activates or deactivates the notification for open wifi networks, not the wifi scanning.
Sent from my C6602 using xda app-developers app
mikii100297 said:
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
I'm not a big fan of not charging the phone every day. If I leave home with less than 100% chances are I don't feel confortable.

[UMI ZERO] Unexpected Reboots

I'm using 3.09 ROM (but occurs with all ROMs):
Unexpected reboots occur only when screen off, specially if I've switched off the screen manually.
For testing I set the phone storage as default storage instead of the SD storage. From then, I've reduced to half reboots in a day... I've been getting around 10 reboots in a day, now 5.
Also I tried to write system logs in sdcard until reboot happens.
I installed a SSH apk in my UMI: https://play.google.com/store/apps/details?id=web.oss.sshsftpDaemon&hl=es
I connected via ssh from your computer and executed:
"cat /proc/kmsg > /storage/sdcard1/log.log &"
Then : exit from ssh session, close android ssh app.
It seems there must be a problem with kernel or governor when switching off/on cpu's when UMI comes back from sleep.
Last lines before reboot:
<5>[11919.129381] (0)[18972:kworker/u:5][SLP] [MENTION=522570 [MENTION=5839521 [MENTION=1065870 [user=1879310]@@@@[/user][/MENTION][/MENTION]@[/MENTION] [MENTION=522570 [MENTION=5839521 [MENTION=1065870 [user=1879310]@@@@[/user][/MENTION][/MENTION]@[/MENTION]@@@
<5>[11919.129393] (0)[18972:kworker/u:5][SLP] Chip_pm_end
<5>[11919.129403] (0)[18972:kworker/u:5][SLP] [MENTION=522570 [MENTION=5839521 [MENTION=1065870 [user=1879310]@@@@[/user][/MENTION][/MENTION]@[/MENTION] [MENTION=522570 [MENTION=5839521 [MENTION=1065870 [user=1879310]@@@@[/user][/MENTION][/MENTION]@[/MENTION]@@@
<4>[11919.129415] (0)[18972:kworker/u:5]Restarting tasks ... done.
<6>[11919.139172] (0)[18972:kworker/u:5][pm_notifier_call_chain]: there are 4 notify callbacks, event = 4
<6>[11919.139241] (0)[18972:kworker/u:5]msdc: 0,mmc_schedule_delayed_work ret= 1
<6>[11919.139280] (0)[18972:kworker/u:5]msdc: 1,mmc_schedule_delayed_work ret= 1
<6>[11919.139303] (0)[18972:kworker/u:5]PM: suspend exit 2015-04-04 14:36:14.414863846 UTC
<6>[11919.139345] (0)[18972:kworker/u:5]active wakeup source: event6-742
<6>[11919.139358] (0)[18972:kworker/u:5]active wakeup source: event1-742
<6>[11919.139368] (0)[18972:kworker/u:5]active wakeup source: event2-742
<6>[11919.139379] (0)[18972:kworker/u:5]active wakeup source: event5-742
<6>[11919.139389] (0)[18972:kworker/u:5]active wakeup source: event0-742
<6>[11919.139400] (0)[18972:kworker/u:5]active wakeup source: event4-742
<6>[11919.139419] (0)[18972:kworker/u:5]active wakeup source: alarm
<6>[11919.139431] (0)[18972:kworker/u:5]active wakeup source: pmicAuxadc irq wakelock
<6>[11919.139442] (0)[18972:kworker/u:5]active wakeup source: EINT wakelock
PMIC6323 Module code: https://android.googlesource.com/ke...vers/misc/mediatek/power/mt6582/pmic_mt6323.c
MT6323 is a power management system chip optimized for 2G/3G handsets and smart phones. Handles all 2G/3G/smart phone baseband power management .
PMIC 6323 datasheet: http://www.datasheet-pdf.com/datasheet-html/M/T/6/MT6323_MEDIATEK.pdf.html
I tried putting SIM in SIM2 slot (MicroSD slot) , disabling GPS, smart screen and air gesture, using Dalvik/ART, 3G data disabled... but still reboots.
In battery menu I can't disable power saving mode, I uncheck the box, but when I exit menu and enter to battery menu, the checkbox is marked again.
Now I'm looking for a 1,7GHz kernel (UMI ROM V3.09). Can anyone share it, please?
I'm using 3.09 and get about 1 reboot every few days.
It's always when the phone is in standby. I'll just hear it vibrate and when I look at it, it's rebooting.
Workaround to avoid reboots
No reboots in several days.
Workaround: Set as CPU governor "Powersave" or "performance" (UMI uses hotplug by default).
Okay, thanks, I'll try with powersave
drodero said:
No reboots in several days.
Workaround: Set as CPU governor "Powersave" or "performance" (UMI uses hotplug by default).
Click to expand...
Click to collapse
You can also use hotplug if you disable hotplugging of cores in the governor settings.
how can I change default governor in 3.09 rom??
Thanks!
EDIT: found 3c cpu manager !
Jimband said:
You can also use hotplug if you disable hotplugging of cores in the governor settings.
Click to expand...
Click to collapse
In powersave mode (no cores deactivation), battery decreases 1% each 12 minutes approx.
In hotplug mode, when setting "is_hot_plug_disable=1", or min core number to "2" , smartphone loses configuration after a reboot.
Is there any way to decrease work frequency to 1.7GHz or lower?
In powersave mode (no cores deactivation), battery decreases 1% each 12 minutes approx.
Click to expand...
Click to collapse
I can confirm this. powersave is not really "powersave". Lost 50% of my battery within 30min screen-on time duiring the day. Any other solutions for the reboot issue??
I'm using @arcatarc Emui 3.09 superleggera rom. We really need to fix that problem. Umi Zero is half a year on the market and there are still reboot issues... that sucks.
Undefined007 said:
I can confirm this. powersave is not really "powersave". Lost 50% of my battery within 30min screen-on time duiring the day. Any other solutions for the reboot issue??
Click to expand...
Click to collapse
I'm using the following script to fix reboots with hotplug governor:
echo "4" >/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base
echo "4" >/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_limit
echo "0" >/sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_boost_enable
sleep 3
echo "1" >/sys/devices/system/cpu/cpufreq/hotplug/is_cpu_hotplug_disable
So basically what it does is fix the core count to four and then disable core hotplugging. It works really well. Maximum performance will drop due to only four cores, but general smoothness is possibly even better because of four cores being online always when awake.
Jimband said:
I'm using the following script to fix reboots with hotplug governor:
echo "4" >/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base
echo "4" >/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_limit
echo "0" >/sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_boost_enable
sleep 3
echo "1" >/sys/devices/system/cpu/cpufreq/hotplug/is_cpu_hotplug_disable
So basically what it does is fix the core count to four and then disable core hotplugging. It works really well. Maximum performance will drop due to only four cores, but general smoothness is possibly even better because of four cores being online always when awake.
Click to expand...
Click to collapse
I tried several apps and manual config, in my case:
/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base --> Always is reset by system to "1", impossible to save a value different to 1.
/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_limit --> Has no effect while is_cpu_hotplug_disable=1, always is using 8 cores
It seems that some parameters can't be modified with this kernel.
drodero said:
I tried several apps and manual config, in my case:
/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base --> Always is reset by system to "1", impossible to save a value different to 1.
/sys/devices/system/cpu/cpufreq/hotplug/cpu_num_limit --> Has no effect while is_cpu_hotplug_disable=1, always is using 8 cores
It seems that some parameters can't be modified with this kernel.
Click to expand...
Click to collapse
Both timing and order are important here: you have to disable the hotplugging last and let the online cores settle to 4 before disabling the hotplug. That's why I use the sleep in the script.
drodero said:
In powersave mode (no cores deactivation), battery decreases 1% every 12 minutes approx.
In hotplug mode,some parameters lose their configuration after a reboot.
Is there any way to decrease work frequency to 1.7GHz or lower?
Click to expand...
Click to collapse
I think hotplug governor with cpu hotplugging disabled is worst than powersave governor, battery decreases 1% every 8-9- 10 minutes. I'm testing different hotplug parameters...
Configuration #1:
powersave bias=250
up threshold=90
down diferential=5
cpu num limit=8
is cpu hotplug disable=1
Battery level decreases 1% every 15 min at least (sometimes 1% every up to 30 mins), same condition as previous tests (display off, wifi ON, BT ON, Location menu: GPS ON)
Antutu: 26500
With hotplugging disabled, I think cpu_rush_* and cpu_input_boost_* paramaters are irrelevant, but just in case I set:
cpu rush boost enable=0
cpu input boost enable=0
I suppose it makes them fully irrelevant.
Configuration #2:
powersave bias=250
up threshold=90
down diferential=5
cpu num base=4
cpu num limit=4
is cpu hotplug disable=1
also: cpu rush boost enable=0, cpu input boost enable=0
1% battery every 30-40mins
Configuration #3:
powersave bias=250
up threshold=95
down diferential=15
cpu num base=4
cpu num limit=4
is cpu hotplug disable=1
Testing config #4:
Script:
echo "0" > /sys/devices/system/cpu/cpufreq/hotplug/is_cpu_hotplug_disable
sleep 3
#echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_down_differential
echo "250" > /sys/devices/system/cpu/cpufreq/hotplug/powersave_bias
#echo "95" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_up_threshold
echo "4" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_num_limit
#echo "8" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_boost_num
echo "0" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_boost_enable
#echo "30000" > /sys/devices/system/cpu/cpufreq/hotplug/sampling_rate
#echo "2" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_input_boost_num
#echo "1" > /sys/devices/system/cpu/cpufreq/hotplug/io_is_busy
echo "95" > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold
#echo "8" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_avg_times
echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/down_differential
echo "4" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_num_base
#echo "98" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_threshold
#echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_rush_tlp_times
#echo "1" > /sys/devices/system/cpu/cpufreq/hotplug/sampling_down_factor
echo "0" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_input_boost_enable
#echo "10" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_down_avg_times
#echo "0" > /sys/devices/system/cpu/cpufreq/hotplug/ignore_nice_load
#echo "20" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_up_avg_times
sleep 3
echo "1" > /sys/devices/system/cpu/cpufreq/hotplug/is_cpu_hotplug_disable
Obviously, the major battery saving you can get is when you're using less cpu (hotplugging on), but you'll get reboots...
Finally, I'm using 2 CPU, with Max Freq limited to 1,7 for better battery life.
echo "2" > /sys/devices/system/cpu/cpufreq/hotplug/cpu_num_limit
- Long battery Life (with display off, BT ON, Wifi ON).
- Good performance, Antutu score: over 20.000
OK, let's give that a try. I'll try the second alternative.
50% within 5 hours. Screen on time 40min. Configuration 2 is much worser than stock.
Easy solution:
As reboots always occurs when the display is off , try to use "setcpu" or a similar app to configure:
-When screen off, select governor powersave
-When screen on, set governor hotplug.
So no more reboots when screen off... but battery will drain.
For better battery life , config #4 - 5.
Apply cpu script at boot:
0.-Remove cpu managers apps, or unmark "set config at boot"
1.-install universal init.d support.
2.-Access to /etc/init.d with rw permissions.
3.-Put the script into a file in this path, example: "/etc/init.d/99cpu"
4.-Reboot smartphone and check the applied config after the reboot.
Battery Monitor: https://play.google.com/store/apps/details?id=ccc71.bmw
When screen off, cpu is set to 1144MHz. With screen off, working freq should be the lower freq (728MHz)...
Hi, and there is no solution to this problem without deactivating 4 or 6 cpu cores??
We paid for an 8 core device...
I will never buy anything more from umi, **** them
vjeta said:
Hi, and there is no solution to this problem without deactivating 4 or 6 cpu cores??
We paid for an 8 core device...
I will never buy anything more from umi, **** them
Click to expand...
Click to collapse
Try to install EMUI 3.0 or EMUI 3.0 SUPERLEGGERA from arcatarc (with 1,7Ghz kernel). I'm using the first one and I've suffered only a few reboots. It's a very good ROM!
Thanks, but the problem is I don't like emui, I prefer stock android and my cpu running and its full 2.0Ghz speed...
That's what we paid for, umi...
very very disappointed with this phone
drodero said:
Try to install EMUI 3.0 or EMUI 3.0 SUPERLEGGERA from arcatarc (with 1,7Ghz kernel). I'm using the first one and I've suffered only a few reboots. It's a very good ROM!
Click to expand...
Click to collapse

Categories

Resources