yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Android Development] SpyderX:
For me mine cannot charge higher than 4169 mV.

The reported charge of the phone is higher than what it is supposed to be until 74 percent, where the charge reported by phone is what it is supposed to be, then from then on the reported charge is less than what it should be.

I will recalibrate and see what happens.
[XPERIA X8 Android Development] ahlulnugraha:
Greetings everyone, this is my continuation testing on 16th post.

Below are DEFAULT condition without deleting everything nor added qcomuiccstack.

Normal use of a day (some texting and calls).

Tottaly idling for a night.

Highly use for phone call.

Normal use of a day (some texting and calls).

You can see phone consume battery during idling at night.

Next part, deleting signalstrength and added qcomuiccstack.

Normal use (some texting and calls).

Tottaly idling for a night.

Normal use (some texting and calls).

Meanly phone calls.

Wifi activity for sync my google account.

You can see on idling are consumes battery power too but battery still last longer than default condition.

As I mention before my daily configuration:

I'm never use data as wi-fi always available in my place.

KSM, Surface dithering off

SmartassV2 245-652 Mhz

I'm never move my sleeping place nor my working place and all that sh*t.

I'm never freeze apps, and always uninstall unused app.

I'm still using 3rd app to disable auto-startup app.

Hope it help this development.
[XPERIA X8 Android Development] Lars6112:
My 1 Test

Hope that is OK and you can use it.My settings: E10i CPU 122- 600MHz---undervolt enabeld---smartassV2--KSM off-- Ram : zRam 18% purging of assest ---dithering--and 16 bit transparecy...

This is the first with condition 1 ( without change in build.prop)

0=idle

1=idle and light use---a few minutes Facebook

2=Idle 12 hours

3=Phone call 29 minutes---Turn Wifi off---Enable 3G---browsing with 3G ~20 minutes and a few messages with What´s app---3G on ~1hour

4=Change to 2G---Phone Idle

5=browsing with 2G---25 minutes Opera---20 minutes Facebook app

6=Idle~3hour with 2G---and then turn 2G off and idle ~7 hours

Condition2 add "qcomuiccstack"

0=listen some musik apollo~30 minutes

1=browsing with 3G~20 minutes

2=minimal use (most time idle)

3=phone call 29 minutes

4=idle~7 hours wifi and data off

5=browsing with 2G ~15 minutes opera and 15 minutes facebook app

Now i´ll try condition3 hope that i can post result next weekend.

Sorry for my english..hope you´ll understand

Best wishes...
[XPERIA X8 Android Development] drfr:
In my previous post I told not to worry about wakelocks but I changed my mind because

- somebody could be interested what are they anyway

- I´m really not that sure they are not interesting for us anymore.

So I´m providing useful links for anybody curious and brave enough to learn something new. Take your time to read it thoroughly.

http://xdaforums.com/showthread.php?t=1433309

http://xdaforums.com/showthread.php?t=1179809
[XPERIA X8 Android Development] drfr:
Mat, looking at your twitter post here

https://twitter.com/matmutant/status/212240638069051392/photo/1

- graph seems to be pretty flat when idling, looks great even if the overall time doesn´t really change too much, because when you use the device it drains like hell. Do you happen to know about SetCpu app? It allows you to set up various profiles for various usage circumstances.
[XPERIA X8 Android Development] matmutant:
you wanna know why it drains when i use it ?

just because it's nearly non-stop use :p (245-748MHz)

don't you think it's the way it should decrease ? about no decrease when idle, and a lot more when used ? (does your car uses oil as much when waiting at a stop or on the highway?)

what i see is that when i don't use my phone it

really

idle

i'll tweet today's result in a few seconds :) (heavier usage)

and yeah, i know set cpu, but i don't think it will change anything in my way of using the phone :)

edit : https://twitter.com/matmutant/status/212593291798130688/photo/1
[XPERIA X8 Android Development] drfr:
Of course there should be a difference between idle/awake (with screen on) usage.

That`s what is this thread about. In the first place, I still have drain when idling, you don`t, obviously. Is that a 3.0.3 feature? Hope so very much. Would like to say more but I have to go for now. Thanks.
[XPERIA X8 Android Development] sonty:
sorry to disappear like that guys, but working until 8 pm and searching the town for a reasonable apartment prevent me from experimenting with the phone at the moment.

I just wanted to raise a short problem that happened to me: after reboot with the same build.prop and cpu settings the phone behaved totally different. in short after the "big revelation" that removing signalstrength and adding qcomuiccstack gets me to 1% per hour, adding back signalstrength had the same 1%, removing qcomuiccstack got me back to 3%. of course I added it back and... it was still at 3%.

each change and reboot was done after I saw in 'logcat -b events' that battery is at 100% and around 4170 mV.

so I thought that maybe using the battery calibration procedure (even though I don't understand what it does) may help. I charged the shutdown phone using the power adaptor over night (about 7 hours). I guess that covers the idea to keep it charging it a couple of hours after it has reached 100%. the result was that in idle I had 5%.

as a desperate measure I disabled zram and network location in build.prop and rebooted. now I'm back at 1% per hour and I'm afraid to reboot :). this was like 4 days ago.
[XPERIA X8 Android Development] drfr:
Are you saying you´ve got 1% throughout all these 4 days? Sounds promising.

I observed many times a nice flat curve after even more desperate tweaks, but it never lasted more than an hour or two and then, without rebooting, without changing anything, it starts falling down again. S**t, the rest of my hair starts to turn grey.

How exactly do you disable network location in build.prop?
[XPERIA X8 Android Development] SpyderX:
Same with me. As I mentioned earlier, it might be something to do with the strange behavior I noticed.

I was using Zeppelinrox's battery calibrator script and I noticed that even after calibrating at 100% (4169mV) and allowing battery to run to zero and then charging back up, reported battery level is higher than supposed battery level (according to zeppelinrox's script) until around 59%, where reported battery level pars supposed battery level, then it reported battery level becomes lower than supposed battery level, to the point when the reported battery level is 1% and the supposed battery level is 37%.

The script might be not suited to our phone but I was just wondering, since the phone relies on /data/system/batterystats.bin for calculation of battery level, could we manually edit it ourselves?

And about powering off your phone when it is charged at 100%, whenever I try to do that the phone will always boot up again. Some user mentioned that his phone sticks on the kernel boot animation after that but mine doesn't :(. So, how exactly do you power off your phone during charging and ensure it doesn't boot back up? Sonty?
[XPERIA X8 Android Development] dagger:
Dont power off the phone while charging..

1.First charge the phone till 100%.

2.Now disconnect the charger.

3.Turn off the phone.

4.Wait for it to power off and then connect the charger.

5.Wait for the phone to boot up and then stick at the kernel logo.

LOL.. its done
[XPERIA X8 Android Development] SpyderX:
Tried what you said, still doesn't stick at kernel logo :(. Just boots up into MiniCM9.
[XPERIA X8 Android Development] matmutant:
which build ?
[XPERIA X8 Android Development] SpyderX:
MiniCM9 3.0.2

With supercharger and RohinZaraki's MiniCM9 mod
[XPERIA X8 Android Development] dagger:
Well..

Thats it

I thought I caught ur bug.

There might be some booting issues with supercharge.

because it has an option called "fix emission on boot" which fixes the app permissions on boot.

Maybe that is causing the prob.

Try unsupercharging and then trying again...

Also clear up ur delvik cache..
[XPERIA X8 Android Development] matmutant:
thank you :-)
[XPERIA X8 Android Development] Lars6112:
I have the same problem.Downloaded the skript and the result is the same.I dont use it for clibrate.I charged to 100% and skript says 4190mV =99%.Now I´m at reported 19% and skript supposesd 51% at 3719mV.

Sometimes the problem is away..I don´t know exactly what I do that the problem like solved...I charge phone to 100% and than switch it off...(restart phone after a few minutes),but i let it plugged in to chargeall the time.

I´ve changed nothing only make the reboot and battery life is about 2 days with normal use.

But with next charging the battery drain is higher like this,by minimal use.

The 1 st screenshot is from my test in post 38, but I think my result´s are not very useful with my different battery life.

Hope this information could help the developers.

Nice work
[XPERIA X8 Android Development] sonty:
@SpyderX: I turned the phone off first, then connected the charger. the phone boots the kernel then stops into a screen where there's a flat battery charging. the screen will timeout in a short time.

@drfr: I meant 1% per hour in idle. I usually can't help myself and I have to play some backgammon during long meetings :).

regarding netwrok location in build.prop. they are there as:

ro.com.google.locationfeatures=0

ro.com.google.networklocation=0

and they even stay there after reboot:

root@android:/ # getprop | grep location

[ro.allow.mock.location]: [1]

[ro.com.google.locationfeatures]: [0]

[ro.com.google.networklocation]: [0]

I have also set:

persist.service.zram=0

ro.zram.default=0

but these get overwritten by the rom if you leave zram enabled in settings.

regarding battery calibration stuff I hope you guys know that the Li-Polymer battery we have likes small and often charges. I don't know if full discharge/charge cycles are actually good for the battery itself. Please take a look at:

http://en.wikipedia.org/wiki/Lithium-ion_polymer_battery#Charging

http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries ( especially the section called "Simple Guidelines for Charging Lithium-based Batteries")

here's something to confirm my hunch about this being related to the SIM. this morning I installed (using adb install) the BetterBatteryStats app that chamonix created and for which I found the link in one of the posts here and it reports that I have 'no or unknown signal' during the entire time my phone is on with full signal in 2G. it's the same in 3G. do you guys get the same thing? please see the attachment.
[XPERIA X8 Android Development] drfr:
Of course I meant 1%/hour not /4 days :)

About BBS. I´m using it and proposing to use it for everybody.

Looking at your attachment I can see your data are not enabled. In that case, it is normal for BBS to report "no or unknow signal", I get it too. Try to enable data and see the difference. Play with the app, it can reveal many interesting things.
[XPERIA X8 Android Development] nightwing369:
Battery charge

That is amazing! The best I've seen for our x10 mini Pro - nearly 2 days straight! Well done! :eek: ;) :cool: Hopefully this can become the standard battery life of MiniCM9-3.0.2 ICS 4.0.4/CM9 port for the Χ10 mini pro
[XPERIA X8 Android Development] Lars6112:
Hey people...

Edited my post 38..

Added results with condition 2 (add qcomuiccstack)

http://xdaforums.com/showpost.php?p=27269385&postcount=38
[XPERIA X8 Android Development] drfr:
To cut the long story short, I went through all the tests and my results were the same as in round 1 - no noticeable difference between qcomuiccstack positive or negative build.prop for me.

Last thing I did so far was to try sonty`s tweaks with network location. Still no difference.
[XPERIA X8 Android Development] matmutant:
trulipan results (2)

as promised :
[XPERIA X8 Android Development] drfr:
Are those obligatory? I mean should everybody use exactly those settings and exactly those apps frozen? In that case I should disable my swap, right? What about ext? Or are we gonna test stability regardless of everybody`s various conditions? Just asking to be sure of what we are aiming at.
[XPERIA X8 Android Development] xsyrhies17:
Sometimes, after adding qcomuiccstack, reboot and calibrate, phone's battery drain less when idle. But sometimes after you reboot without doing any calibration or edit, it went back to draining fast. :confused:
[XPERIA X8 Android Development] drfr:
Yes, we´ve all seen this inconsistency, that´s why the test is now focused on stability, not battery life, if I understood that well.
[XPERIA X8 Android Development] matmutant:
absolutely not, this my own example, do what you want, just keep same configuration between each of your personnal tests :)
[XPERIA X8 Android Development] xsyrhies17:
Oh, I did not noticed the protocol update. My bad.
[XPERIA X8 Android Development] VinceMetalHeart:
¿So if I calibrate the battery charge after a good finciona me the battery discharge?
[XPERIA X8 Android Development] VinceMetalHeart:
I want to know to pass the ROM
[XPERIA X8 Android Development] xsyrhies17:
Is it default to ICS at startup to run almost all the apps at /system/app? I checked all apps at Settings → Apps and saw almost all system apps are running with ''Force stop'' enabled. I don't know which app is safe to stop so I leave it be except for live wallpapers/wallpapers. Also checked downloaded apps but unlike the system apps, only few are running.
[XPERIA X8 Android Development] drfr:
http://wiki.cyanogenmod.com/wiki/Barebones
[XPERIA X8 Android Development] VinceMetalHeart:
Good and wanted to inform you that the battery got me consume 1% or more per hour and that the deceased was the GPS that was in the background without being able to see on and eats the battery disable storing means that when more clear to remove the GPS got a 2% but 1% should be no more than that I have the settings qcomuiccstack and then adding Sonty and I put the famous apex that I can remove the animations to your more and I got the 1% per hour or more

but what I did was descargarme the ROM and put it all started again in the ZIP to install it I got it and added the pitcher also underolt the CPU and I have a frequency of 122 to 480 that do not cost much to put both processor by the time I see you now I'll upload it and installing it works applications for everyday

So I take from last night that I first had a 30% loading or leave it overnight and not to download vuevle fast as to, by which the carrying cuadno happened before that and now I'm doing well =)
[XPERIA X8 Android Development] drfr:
Very good but this translate is not very much comprehensible, sorry. GPS turned off is all too obvious, this is not the culprit for all of us.
[XPERIA X8 Android Development] VinceMetalHeart:
Well is there not translate all the truth I have a high level of English for

write everything down and do what I can xD

so I wonder if those people have and limit standard limit processes that consume that is not to do things more and I have it disabled may be the culprit: S

Well, you should use the betterbatterystats and autorun manager that helps to locate my battery wear and locate it that would put the GPS when at rest
[XPERIA X8 Android Development] xsyrhies17:
Though the top priority now is stability, I still did some test regarding how to lessen the battery drain. I noticed that the smartassv2 governor does not make the cpu frequency settle at minimum during the time there's no much activity going on(idle) and the frequency continues to fluctuate, 60 - 80% cpu usage is on max frequency, 20 - 30% on min. (I used Android System Info to monitor the cpu frequency percentage). I switched to ondemand right after and then during idle minimum frequency usage climbed up to 40 - 50% and max freq decreased. It did lessen the battery drain on idle but not drastically because it depends on whether there are apps on background that uses much of the cpu. Battery drain is still present specially when you are using the phone, this only work during idle and depends on your usage of apps and widgets that run 24/7 on your phone. This worked on mine but I cannot guarantee if this will work on other devices, it's your choice if you're going to try. :)
[XPERIA X8 Android Development] 2010matej:
245~748MHz, smartassV2, KSM, UV, zram18%, purging of assest, dithering, 16bit transparency.

"qcomuiccstack"

I'm using this now! I disable some apps,unistall dsp manager and reboot. I think that battery is better for now in 5 minutes.

My other settings: no animations, ultra brightness+auto brightness...

I'll charge it now to 100% and I'll leave charging for some time, now it's 77%.

I'll leave phone discharging at night and I'll see at morning how many % will be lost !:laugh:

:cyclops:GOOD LUCK MY BATTERY:good:

And I'll try next day with "undervolt" "122MHz -600Mhz" ...:cool:
[XPERIA X8 Android Development] kkkhattak:
Please help what should i remove from boild.prop and what to add please help?????????
[XPERIA X8 Android Development] 2010matej:
In build.prop find that :

ro.telephony.ril.v3=icccardstatus,skipbrokendatacall,signalstrength,datacall

and add that "qcomuiccstack"

ro.telephony.ril.v3=icccardstatus,skipbrokendatacall,signalstrength,datacall,qcomuiccstack
[XPERIA X8 Android Development] andrewx9103:
Reflash the rom
[XPERIA X8 Android Development] kkkhattak:
Ok thanks
[XPERIA X8 Android Development] drfr:
Hey guys,

at last I can see some progress in battery drain problem.

Since sonty came with the qcomuiccstack tweak and proved that it had influence on his battery life I´ve been using it too, but couldn´t see any difference for me. So it was obvious something else had to play role and I´ve been continually searching for it.

There are couple of posts around that claim proper charging and battery calibrating might help.

I wasn´t particularly positive about that but I changed my mind.

Here´s what I did:

Charged to 100% while connected to PC /haven´t tried with wall charger yet/, powered off, waited for a while, went to recovery, wiped battery stats and rebooted, still connected. After full boot, battery was at 99%, waited till 100% and then disconnected. Since then I´m observing 1% power usage per hour and it´s been around 4 days now.

Funny part is that when I tried "plain" reboot since then, drain came back to 4%, but after another reboot while connected to PC /without charging to 100% and without wiping stats/, 1% returned! I was able to reproduce this for a couple of times. I even tried the brave thing and did a fresh install of ROM after full wipes, added qcomuiccstack back, did this charging procedure and I´m still on 1% !

Edit: might be useful to say what are my other settings, but I haven´t changed them for some time. Anyway: smartassV2 122-748, no compcache but swap partition 256M, no KSM, no UV, sd-ext on ext4 without journaling /if interested, can post how/, no auto syncing, couple of useless apps disabled /if interested can post which/.
[XPERIA X8 Android Development] drfr:
Just an udpate to previous post.

Yesterday I tried "plain" reboot with device disconnected from PC and no drain occured! It´s even less than 1% per hour now. Things seem to "settle down".

Edit:

Here`s my disabled apps list:

Android Live Wallpapers, AntHalService, Black Hole, Bubbles, CyanogenMod Wallpapers, Default Input, DSP Manager, Email, Exchange Services /this one seems to be important/, FM Radio, Google Calendar Sync, Google Search, Live Wallpaper Picker, Magic Smoke Wallpapers, Maret Feedback Agent, Market Updater, MiniCM Update Notification, Music Visualisation Wallpapers, Network location, News & Weather, Phase Beam, Pico TTS, Setup Wiyard, Sound Recorder, Speech Recorder, Talk, Trebuchet, Voice Dialer

Edit:

After several hours later the drain came back - reboot while connected solved the problem .... again.
[XPERIA X8 Android Development] sonty:
in my opinion the problem is somewhere in the android framework that inits the sim and radio. sometimes it boots correctly and normal settings are applied to the radio, but sometimes there's some glitch and the radio is boosted to maximum without the possibility to turn it down afterwards.

maybe booting while connected to PC increases the chance to avoid the issue and it's a great find.

myself I tried also the dx version (out of desperation) and it's the same problem there. in the end I removed signalstrength from ro.telephony.ril.v3 and, as in your case, I'm on less than 1% per hour. from my point of view this is something that google introduced and not something specific to cm or minicm.

just out of curiosity, drfr how old is your sim card?
[XPERIA X8 Android Development] drfr:
Very old actually, don´t recall exactly.

Edit: oh no, I was completely wrong with that, my wife corrected me - our carrier has given us new SIMs with 3G capability last year.
[XPERIA X8 Android Development] zeduck:
Hi,

I added qcomuiccstack to build.prop but since I've done that, my phone stucks on nAa kernel splash screen.

To be more precise, I use nAa ICS-3 kernel and MIUI rom 2.6.22.

Does anyone had same issue?

How can I correct it?

Thanks
[XPERIA X8 Android Development] sonty:
@zeduck: normally this property shouldn't get you stuck at kernel boot. anyway:

- easy way out: flash again the rom.

- complicated way out: unzip the rom on your pc, take build.prop from the resulting dir and make a flashable zip with it.

these assume you are able to boot in cwm. if not, I really don't know.

in other news last night I went again from function to function inside the framework and found another property that as far as I understand should make the application stop polling rild. please correct me if I'm wrong. so now my build.prop contains the following:

ro.telephony.ril.v3=icccardstatus,skipbrokendatacall,signalstrength,datacall,qcomuiccstack,usehcradio

the result is that during the night (about 5 hours) it has dropped 2% after being reloaded while connected to pc.

in the morning I reloaded it to recovery, it got stuck on boot, I removed the battery, started in cwm, cleared battery stats and booted. this time it went about 4 hours with 2%, then I started playing backgammon during lunch which made it drop for 11% :).

hopefully I'm not fooling myself again.

the place where I saw this usehcradio being used is on line 3098 in https://github.com/CyanogenMod/andr.../java/com/android/internal/telephony/RIL.java
[XPERIA X8 Android Development] zeduck:
I want to try to make a flashable zip.

Can you send a link to a tutorial to build a zip please?
[XPERIA X8 Android Development] drfr:
You sir are doing a tremendous job! Starting to test at once!