Anyway to do this via terminal .....??Sent from my GT-I5500 using Tapatalk
Hope this helps:You are not allowed to view links. Register or LoginBaseband: I5500LUYJPEgovernor: ondemandmin: 245, max 604Using JITNot using 3G or GPRSBluetooth on most of the time.Few wireless connections, few calls. No GPS usage.I noticed that battery scale is logarithmic. First 10% of battery drain takes same time as from 90 to 50 and from 50 to 0 takes half the time. I did battery calibration, doesn't help.I also noticed some problems connecting to wireless networks - on specific networks DHCP doesn't work, I must use static IP.
Thanks again for all the testing. I'll be analysing the dump logs.I have one more request for people:Please follow the same instructions again, with one important difference. Before you begin (at 100% battery), modify your configuration:Settings -> ADWLauncher -> System Preferences -> Home Orientation. Change this setting to Portrait.If you are using LauncherPro, there may be a similar setting to disable the automatic orientation.I'd appreciate the logs again, but also some feedback as to whether you think the battery life has improved when sensors are not used by the home launcher.
ADWLauncher doesn't help with disabling sensor.I was playing around...found interesting....ActivityManagerService.java tracks the processes which is foreground, is running a service.. and its because a value is set in setting "oom_adj" of the process. This oom_adj give signal to android kernal to kill the process if it goes out of memory(oom). I found this kernel source in "lowmemorykiller.c" which is located in the kernel source tree under "drivers/misc/".so i ran # cat /sys/module/lowmemorykiller/parameters/minfree and got output like this: 1536,2048,4096,5120,5632,6144 this numbers are pagesize.I changed this page value in terms of MB. (for calculation 1 page=4kb)and there you go, i set minimum page size 60MB...if android memory usage goes below 60MB it will kill those foreground processes that actually using kernel resources . I think it saved almost 15% of my battery so far...can not say exactly...but still working on that if i can get better page size for our CM 7.1. May this concept can give better idea to you.Any thoughts, Psyke83?ThanksIt seems that on Android the current forefround application gets an oom_adj value of 0 and as soon it's not visible anymore it gets some higher value. I assume the concrete value is dependent by the processes' place in the LRU list.
@psyke83i'm on cm7 by tj_style, charged to 100% at night and morning only 95% n with use of 3 mins reduced to 90%this is my dumpstate wen battery was around 88%..can u tel wats draining my battery wen it's idle in night??solution?