yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] a user:
guys, as i said: the first hours you will have the drain. but did it stopped finally? check with current widget!

in my case it seems to always stop after some hours and does not come back till a reboot.

p.s. i'll upload an updated 1.9.23 base version in the next days.

edit:

p.p.s. @lord clockan: was an accident :P ...... but as if it was the first time... :P
[Desire HD Android Development] gillepy:
Whenever I install your rom i have to reinstall the google news and weather widget. Is this on purpose? Is there anything I can do to make sure it isn't un-installed? or automatically install it after flashing?
[Desire HD Android Development] a user:
@gillepy

no idea. does they really miss if you flash my rom or simply not work properly? are there still in the apps list if you go to settingss->programms->all apps ?

my installation script does not touch /data at all but /cache and dalvik cacht getting deleted of course.
[Desire HD Android Development] gillepy:
I don't know. I haven't updated to the most recent base so will look properly then. All I know is after a flash the widget disappears and in Titanium backup it shows are un-installed so i restore it from there.
[Desire HD Android Development] a user:
updated third post with my current systune settings for download.
[Desire HD Android Development] matoxic:
Maybe its device specific?.. I follow SCI MIUI, but I unfortunetly don't use it, as I use MIUIAndroid.. but I monitor my battery very seriously and when my phone is idle I get about 3-4mh drain, anything higher and I investigate straight away..

I use the TalonACE kernel at the moment, but I've also used the LordmodUE on the 1.10.8 version and both had the same drain when idle..

What I'd suggest is to do a full wipe, install currentwidget and monitor your battery after each app install, give your phone and 20 min break (turn screen off) after each app and check how much it uses while idle..

Press your magnify glass (search) slide over and app kill, see if that works? I would also suggest to turn the firewall if you have it activated (not your DND anti-spam), as its really not necessary.. turn your sync off and sync manually..

MIUI imo doesn't need sync as the only application I need syncing is mail, and I would sooner do that when I open the app..

These are just a few pointers that I have done, and I can honestly say that with some slight monitoring a 3-4mha drain is achieveable.. this has been done with turning the phone on and off WITHOUT charging :)
[Desire HD Android Development] matoxic:
I would also like to add that the 1.10.8 4 way reboot works with 1.10.14 update as I'm using it and its up and running :D
[Desire HD Android Development] a user:
@matoxic : thank you for your try to help but this is not app related. i already (and also others) eplained that this drain happens even after a full wipe without any additional installations, with any kernel and even with the unmodified stock roms from miui.us, miuiandroid.com and miui-germany.

though not all are affected by it, it can stop and can reapear. i currently don't have the drain neither as i explained one or two pages back.

i get it after a reboot but it disapears after some hours and dosn't apear again until i boot again. this bug is also already confirmed for base version 1.9.30 till 1.10.14
[Desire HD Android Development] sparky_boi:
I manually applied those settings on page 3 to systune and after pressing save (in the kernel/vm settings page) the app forced closed. Luckily the settings were saved, and applied on boot :) but just letting you know that it force closes when you try and save them.

PS: I'm using systune from cm7.1 not miui in case that helps :P
[Desire HD Android Development] matoxic:
Ok no probs, I can only really speak for myself on this as it doesn't happen on mine.. I have current widget running and check/clear every 24 hours.. and most of the time it's 3-4 with spikes every now and then.. unless ofcourse I'm using it which I mostly am lol..

If its confirmed in base, I wonder why miui havnt already fixed it "/
[Desire HD Android Development] a user:
the issue has only been told to miui last week. so it is not much time.

this drain issue is also talked in every custom miui rom for the dhd and even in the forums of the various base roms.

and honestly, what a rom cooker would i be not testing a full wipe with nothing changed before i claim to have such a bug? ;)
[Desire HD Android Development] Stilleh:
*unplugging phone after 3 hours of charging*

Hold those thumbs people! Current widget is running and logging. Hopefully I won't see the awful 61-74mA I saw in the logs this morning...
[Desire HD Android Development] a user:
from? you mean on?

could it be that you turned your device a bit so that systune wanted to switch from portrait mode to landscape view?

could you repeat that and test it? and if you get a fc press the button to send a crash report so that i can see where exactly in the code it crashed.
[Desire HD Android Development] sparky_boi:
Sorry, I mean on.

Report has been sent :) And, no I was adding the settings in portrait mode, but I also FC in landscape view so no difference there..

Also, where is "Kernel settings"

I only see io settings and vm settings. Thanks

PS: I can save settings fine in the other tabs. It's only the "miscellaneous" tab where the FC occurs

EDIT: I see, just read the "Help" section and "Kernel settings" only applies to CFS kernel
[Desire HD Android Development] a user:
good that you mentioned that you don't see any kernel settings... this could explain the root of the fc.

1. if you do not see any kernel settings section then your used kernel does not export any tunable parameters which i am looking for.

2. the fc must be related to an empty list of kernel settings. will check that out later.

also i check your report. could you explain exactly please what you did jsut before it crashed? what exactly you pressed? the "apply" button, or the "save" button in the save settings dialog? or what?

edit: which kernel are you using? forget it. jsut saw your edit.
[Desire HD Android Development] sparky_boi:
Sure. I manually entered all the info to the io settings and the vm settings, ticked the "apply on boot" box, then clicked apply. After that i hit menu, and pressed to save settings, and the app FC'd.

Even now, it keeps closing every time I press "save settings"

Will reboot and let you know if it still occurs

edit: Still happens, even after reboot. To be honest I don't mind, because the settings are still there, and still apply on boot. Only problem is that I can't save them :)

edit2: I can load settings, only saving is the problem.

edit3: Sorry, but I gotta go to sleep now, already getting late here, and need to wake up early tomorrow :P

Will be back on in the morning, send a PM if you need to know anything, as I have xda on my phone too.
[Desire HD Android Development] a user:
fixed it. new version 1.3.1 is up. i'll also send you a pm. you could help by providing infos about bfs specific tunable paramters to be included in next version.

i send you a pm right now.

thank you for the help on solving this bug and i appologise for the trouble!
[Desire HD Android Development] gillepy:
I have no drain upon installing the newest release. This is a very odd bug.

http://pastebin.com/wjq6t4Vn <-- my current widget log if its any use.

this is with the standard kernel.
[Desire HD Android Development] a user:
yeah, the drain apears less frequently with stock in my case and if it apears it disapears faster.

but anyhow, it's currently fine with lordmod 8. finally we can only sit and wait for miui to fix that.

p.s. your log looks fine to me.
[Desire HD Android Development] LorD ClockaN:
BFS working in miui?

That is very rare

Sent from Desire HD with BlackIce ROM
[Desire HD Android Development] a user:
no it is not. the guys mentioning bfs was using cm7.1. he just posted here because of systune. he used my rom in the past though.

but if you cuold give me a "ls -l /proc/sys/kernel" while running your bfs kernel i could checkout for usefull tunables to add to my systune app.
[Desire HD Android Development] LorD ClockaN:
I could, but not on BFS, maybe later ;)

If I change my sig everytime I change my kernel...
[Desire HD Android Development] gillepy:
Just installed the latest kernel from Lord, battery drain returned but has now gone. All i did was leave it for a while. No charging.

http://pastebin.com/NhanRJqJ <--- again included for interest. this time you can clearly see when the drain disappeared.

Also I have a 6.59 second sleep time. is that a record.
[Desire HD Android Development] a user:
look again. the drain disapeared at 17:57:59. it took only about 30min to vanish.

i had to wait over 2h. but is now fine since over 20h.
[Desire HD Android Development] LorD ClockaN:
where do you see sleep time?
[Desire HD Android Development] a user:
the lines with -50mA and ones with -3 - -6mA ;)
[Desire HD Android Development] djcsurf:
Nope, I regularly get 10 mins :D

But because I live in **** signal area, I only average ~1% per hour drain :(
[Desire HD Android Development] gillepy:
yep i knew it had went i mistyped

---------- Post added at 07:42 PM ---------- Previous post was at 07:36 PM ----------

I think its the longest time between current widget logs
[Desire HD Android Development] DarkShadowAy:
How are you guys monitoring usage?
[Desire HD Android Development] a user:
@gillepy: correct, the time between two consecutive loot entries is sometimes longer than a minute, even though current widget is set to log every minute.

@dark: we are using current widget from the market to log the usage during screen on/ off
[Desire HD Android Development] sparky_boi:
New version seems to work perfectly now :D

Also on new version there is a kernel setting here which wasn't there before: "rr_interval" which is 6 by default.

I have sent the feedback through the app as requested.

Thanks a lot for taking the time to fix it, and very fast too!
[Desire HD Android Development] LorD ClockaN:
rr_interval

There is only one "scheduler" tunable, the round robin interval. This can be

accessed in

/proc/sys/kernel/rr_interval

The value is in milliseconds, and the default value is set to 6ms. Valid values

are from 1 to 1000. Decreasing the value will decrease latencies at the cost of

decreasing throughput, while increasing it will improve throughput, but at the

cost of worsening latencies. The accuracy of the rr interval is limited by HZ

resolution of the kernel configuration. Thus, the worst case latencies are

usually slightly higher than this actual value. BFS uses "dithering" to try and

minimise the effect the Hz limitation has. The default value of 6 is not an

arbitrary one. It is based on the fact that humans can detect jitter at

approximately 7ms, so aiming for much lower latencies is pointless under most

circumstances. It is worth noting this fact when comparing the latency

performance of BFS to other schedulers. Worst case latencies being higher than

7ms are far worse than average latencies not being in the microsecond range.

Experimentation has shown that rr intervals being increased up to 300 can

improve throughput but beyond that, scheduling noise from elsewhere prevents

further demonstrable throughput.
[Desire HD Android Development] sparky_boi:
Very detailed, thanks man!
[Desire HD Android Development] LorD ClockaN:
That is copy paste from bfs documentation from in my kernel source

Sent from Desire HD with BlackIce ROM
[Desire HD Android Development] a user:
Sparky, you paid for a working app. It's my duty.

And it is a pleasure with the positive feedback.
[Desire HD Android Development] matoxic:
currentwidget :)... best app for battery monitoring
[Desire HD Android Development] sparky_boi:
I use Battery Monitor Widget

https://market.android.com/details?id=ccc71.bmw&feature=search_result

Works for me

PS: Back to MIUI now, too many apps weren't working properly with CM7 (surprisingly enough), but do on miui.
[Desire HD Android Development] a user:
SysTune discussion thread. If you want to discuss your experience with various settings or see what others use then i hope you help filling up this thread ;)
[Desire HD Android Development] a user:
@sparky_boi : battery monitor is nice but it has one big disadvantage over current widget: it has enforced mA reading. this means when you set it to read mA values every minute it enforces the phone to wake up every minute.

current widget can optionally do that too. but as default it does not enforce waking up the phone. it reads the values on the next wake up but not bevore 60s (or what ever you have set up).

hence you can see if the phone felt asleep or not.
[Desire HD Android Development] floepie:
Where does the SCI come from in SCI MIUI? I always read it as "science".
[Desire HD Android Development] a user:
if you use my SysTune app and press the feedback button to send me an email you'll see what SCI means ;)
[Desire HD Android Development] a user:
Miui and Ice Cream Sandwich (Android 4.0):

http://twitter.com/#!/miuirom/status/126265736845987841
[Desire HD Android Development] hypnz:
wtf!!!??
[Desire HD Android Development] a user:
well, according to the miui-germany blog they probably are already building first test builds. sounds strange as it isn't even presented yet. but maybe the chinese guys know something we don't.

in any case, it looks quite sure that there will come a miui based on ICS, so will cm too.

looking forword cooking ice cream sandwiches :D
[Desire HD Android Development] sparky_boi:
:eek::eek::eek: can't wait!!
[Desire HD Android Development] floepie:
Not too familiar with ice cream sandwiches in Germany, are you. ;|
[Desire HD Android Development] a user:
i know them. but i haven't saw any for many years oO
[Desire HD Android Development] a user:
oh something else... lordmod v8.1b4 miui version rocks!

use my systune settings i linked in the third post to (actually it is a link to the systune thread and there in the second post you'll find them).

if you get the drain just be patient. it will vanish. though may take up to 4h till it stops.
[Desire HD Android Development] eliashadow:
Yep...i notice that...;)

Everything is perfect in my battery...:D
[Desire HD Android Development] a user:
eliashadow... how many roms are you running? desense, blackice, sci miui... ? ;)
[Desire HD Android Development] floepie:
I must say, too, that I'm noticing battery improvement with this week's default ROM without modifying the kernel or using Systune.
[Desire HD Android Development] a user:
heretic! not using systune.. how you dare ..... :P
[Desire HD Android Development] eliashadow:
Im using bootmanager and depends how i wake up every morning...:p
[Desire HD Android Development] LorD ClockaN:
Aaaa, looks like systune is a drain issue :-)

Sent from Desire HD with BlackIce ROM
[Desire HD Android Development] matoxic:
oooooh.. dun, dun, duuuuuuuuuum
[Desire HD Android Development] a user:
very funny :(
[Desire HD Android Development] lorawithano:
yea, all this talk about battery drain, and yesterday my device was up for 23 hours!! i couldn't believe it. that has never happened in the life of any android i've ever had. max has been 8 hours, and that was astonishing. 23 hours is like a freaking miracle of god!
[Desire HD Android Development] hypnz:
Hmmm I noticed a drain with systune to!!!hihihi a user:-)
[Desire HD Android Development] a user:
:P

curious about the new miui verision coming friday.
[Desire HD Android Development] djcsurf:
Yep, hopefully 1.10.21 will be a keeper

Preview changelog:

Optimization of android system 2.3.7

Optimization of lockscreen UI

HTC Ace (DHD) battery problem resolved.

Yippee :D

btw i just made up the changelog, fingers crossed eh!!
[Desire HD Android Development] floepie:
Huh. Maybe that's why I've never seen the "drain". I've never used Systune.

Anyways, I REALLY love the new look of ICS. That new Nexus is going to be a hit. I see elements of MIUI in it too, i.e. the settings menus, toggles, animations, transitions, etc. Of course there's a bit of W7 in there too.

I have to say the phone itself has a bit of a boring look to it. I just am sort of sick of the understated phones out there - all clones of one another. The specs are fine, but the design is uninspiring. If only Nokia had gone Android.

---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------

Bastard. ;)

EDIT: I just noticed my Thanks-to-Posts ratio is pathetic. I must be the bastard.
[Desire HD Android Development] a user:
my thanks to post ratio was also quite bad. making a rom helps though :P

edit: at least a bit :D
[Desire HD Android Development] gillepy:
Auser I think you should build in some battery monitoring into your app so I don't have to reinstall current widget everytime I need it.
[Desire HD Android Development] matoxic:
We could say the same about every other app we install as well..... lol
[Desire HD Android Development] eliashadow:
Any battery monitor is battery killer mate cause all the time running in the backround or/and making log,so the right way is to test your battery with a battery monitor 1-2 days and then unistall it.
[Desire HD Android Development] gillepy:
Yep that's what I do every time I flash. I just thought it would be great if you could turn on a log in systune for a few hours to check everything was running well.
[Desire HD Android Development] sparky_boi:
T_T Data (2g/3g) never works when I leave home, unless I restart phone.

EG: At work, I check phone and there's no 2G/3G symbols in status bar and no internet apps work, including browser until reset phone...

However after that one reset, it stays on data which is good.

Also when I get home, it doesn't come back to wifi (it stays on 2g/3g) unless I go to the wifi settings screen, only then does it start connecting..

Been testing this for the last 2 days now.. same thing unfortunately.

Hoping the new miui version this week will fix it.
[Desire HD Android Development] a user:
sparky_boi, this is a miui bug that i have since i first used miui. i have it on all miui roms.

the issue is this:

you are connected to wlan and leave home while connected. when you later turn on your screen you are disconnected from wlan (of course) but the mobile data didn't connect and also won't connect.

though you can force to connect it manually. to do this you need to switch networktype, i mean switch between "3g prefered", "3g only", "2G only". this restarts mobile connection.

i can only hope this bug will be fixed when they switch to cm7.1 base.

and as i already said, i have this on EVERY miui rom, any stock, any custom. i tested them all because of this. i also tried then 1003G ril and at first it seemed to fix it but it didn't. also it doesn't matter which radio i am using.
[Desire HD Android Development] sparky_boi:
Thanks. That's odd because this is the first time I noticed this bug lol.

Every other miui ROM seems to work fine (at least for me).

Was on 1.9.23 a few days ago (since no batt. drain there) and there was no issue at all on that version. Strange..

Oh, and thanks for the tip. Will save me some time from resetting phone. Cheers :)
[Desire HD Android Development] floepie:
I have never experienced that mobile data bug with MIUI. I have experienced the wifi bug however. But, it's much better now with the latest releases in that it connects without my interventions, albeit begrudgingly at times.
[Desire HD Android Development] a user:
@sparky_boi: this bug actually won't be obbserved too often as most people are disconnecting manually from the wlan.

though i am using llama to automatic handle such things based on my location and time. that's i think why seem to be one of a few people being hamemred by this bug so often.

but also kitecarl confirmed this bug. he is using freshly squeezed and made a tasker script to switch network type to fix the bug when wlan has disconnected.. maybe you wanna ask him about this.
[Desire HD Android Development] Stilleh:
I'm on freshly squeezed and I have the same bug ;)
[Desire HD Android Development] djcsurf:
From the preview changelog for tomorrow there don't seem much promise.
[Desire HD Android Development] a user:
the preview changelog allways only showed some new features. i don't remember ti showing any bugfixes.

and sometimes even the full changelog does not show them oO
[Desire HD Android Development] killersloth:
Bug: **** looks like an iPhone but doesn't suck hard enough... ;)

&&it makes me want to buy systune...
[Desire HD Android Development] a user:
lol !

but mine does not look like an iphone :P

am using a slightly modified version of phazed theme from miui.us

p.s. for all who wondered what i am currently working on for systune:

step 1: CPU Stress test.

step 2: .... will tell you when step1 is released :P
[Desire HD Android Development] sparky_boi:
http://miuiandroid.com/2011/10/miui-1-10-21-full-changelog/

Looks promising, especially the 'new 2.3.7 code base' part.

Hopefully will solve drain and other issues.
[Desire HD Android Development] floepie:
Question for you guys regarding sound. I have 'vibrate in silent mode' set to ON. 'Normal vibration' is set to OFF. And, in the 'Vibration' sub-menu, all 3 settings (calls, notifications, messaging) set to ON.

When I put the phone into silent mode, shouldn't I expect the phone to vibrate when I receive notifications? Calls vibrate, but alerts don't.

I want to have it so that nothing vibrates in normal mode and everything vibrates in silent mode.
[Desire HD Android Development] farinacci_79:
http://miuiandroid.com/2011/10/miui-1-10-21-full-changelog/

... sorry ... but where is the battery drain for DHD fix written?
[Desire HD Android Development] hawkwind:
It isnt, but hopefully a new base will have fixed it.
[Desire HD Android Development] farinacci_79:
...maybe... but the bug was born between .23 and .30 that has each the same base if I well remember...

I hope...
[Desire HD Android Development] a user:
SCI MIUI 1.10.21v0.5 EN ONLY pre-release version is up...

loading. give it 5min.

ATTENTION: Read the notes under the link carefully and report back problems and other things you observe.
[Desire HD Android Development] sparky_boi:
Cheers will flash in the morning :)
[Desire HD Android Development] LorD ClockaN:
I would really like to know if the normal kernel, not MIUI version drains the battery the same as non-MIUI version!
[Desire HD Android Development] a user:
me too. but i won't have the time to test this today. so i hope for feedback from others. i just asked dekky about it too.

they have still aicbootfix.apk in system/app. maybe only forgotton? but it does no harm anyway.
[Desire HD Android Development] LorD ClockaN:
if they use 7.1, than aicbootfix isn't needed

we will see
[Desire HD Android Development] baltazar.nilsson:
@ a user, hey mate.. been a while :) sorry but abandoned miui for sense 3.5 a while since there has been to much issues with miui lately. Can I ask how it is now? Batt drain gone? That's the important one, the rest I had problems with I can test for my self.. miss miui u know lol ;)

Thanxs for any input mate.. Cheers..

Edit: sorry mate, didn't see you're post in time :(

Anyone else that can give me some input would be great.. pz
[Desire HD Android Development] a user:
actually it seems that the battery drain introduced with 1.9.30 allways vanishes on its own after max 4h. and it stays off until you reboot. so on the long run its only a bit anoying but not a real issue.

the drain lord clockan and i are talking now is an old one, already fixed. the question is only if the current used fix in the kernel is needed anymore or not.

beside of that sense has for me more issues and less features i like than miui. but of course a question of taste. nandroid backups help testing stuff out ;)
[Desire HD Android Development] Stilleh:
Is this a pre-release base from MIUI Germany too?
[Desire HD Android Development] a user:
no, it is based on miuiandroid.com. miui-germany allways releases suterday.
[Desire HD Android Development] Stilleh:
Forgive my ignorance but why is this a pre-release then? MIUIandroid has the full version up. Or are you calling this a pre-release because it doesn't have German language in it?