Timerfd kernel wakelock? - Xiaomi Redmi Note 3 Questions & Answers

Anybody know what timerfd wakelock is? Has been running for about 2 hrs under BetterBatteryStats. Caused my battery to drain from 97% to 88%.
On the leaked Qualcomm 5.1 AOSP ROM, I don't have any wakelock issues. Battery life is perfect, about 8.5~10 hours of SOT.
On ZephyrOS and CM13 (Santosh), I get timerfd wakelocks. The ROMs come with their own kernels so I'm not sure if this is specific to the kernels or not, but it would make sense since this falls under Kernel wakelocks under BetterBatteryStats. I haven't tried flashing other custom kernels because I feel like kernels that come built with the ROMs are a lot more stable. But just wondering if anyone has seen this before and know what it is or what the cause is?

I have the same problem in MIUI 8 global developer. Can't understand what is this

Related

In your opinion. Best Kernel for Battery Life?

I've used ninphetamine 2.1.3+ and it used to drain my battery a fair bit. After having seen another user who said he was experiencing better battery life with ninphetamine 2.0.5. I flashed the older version and it turns out to be indeed better.
My idle drain rate is now 15-17mA using Battery Monitor widget.
So when put in picture. Drain rate is about 2% per hour with minimal usage. (Note 3g data was on)
Anyone else have a better kernel?
EDIT 1:
I've tried using SiyahKernel (KI3) and it seems that according to Battery Monitor widget the idle battery drain is 14-15ma. Seems to be much better. However, occasionally the touchscreen freezes and only the touch button works. But then again it could have been because I was using the KI3 kernel on a KH3 rom. Would report back after I finally get off my lazy ass and flash a KI3 rom
EDIT 2:
Got off my lazy ass finally. Flashed LeoMar 2.7.1 rom with SiyahKernel 1.7.8. Will report back after a while. Though I must say that for some reasons after the boot animation the phone turns black for quite a long time (1-4 Seconds) before the lockscreen appears. This did not happened with the default LeoMar 2.7.1 kernel. Will report back in 24 Hours.
http://forum.xda-developers.com/search.php?searchid=92694072&pp=25
Lennyz1988 said:
http://forum.xda-developers.com/search.php?searchid=92694072&pp=25
Click to expand...
Click to collapse
Thanks sherlock. I posted my findings and was asking if anyone else had better. If it the time of the month of you. Stay off this forum.
Personally I find it very difficult to make meaningful comparisons, especially at idle.
Battery Monitor Widget gives estimates and not actual current drain. See this thread for some discussion: http://forum.xda-developers.com/showthread.php?t=1056486 but basically it's either not in Samsung's battery driver or the app is not reading the information. So you are comparing estimates and the margin for error might be pretty large.
When you flash new kernels you also need to recalibrate the battery. That also affects your battery drain estimates. (I've had Battery Monitor Widget tell me my battery is going up when its unplugged, so go figure.)
Battery life at idle is affected by so many factors. Maybe your signal strength is better one day than another. Or you got more emails or did more syncing. Or one app just happen to glitch and have a very long wakelock. If you get battery drain, you should be checking your partial wakelocks with BetterBatteryStats. Did you get more partial wakelocks when you were running Nin 2.1.3? Is it the kernel's fault or did you just have a misbehaving app?
I like experimenting with different kernels too, so my point is don't expect miracles when somebody says Kernel X gives amazing battery life compared to Kernel Y. Personally I think they are all about the same at idle, and the big differences are in your settings and your usage. If you wipe your phone, don't add any Google or Exchange accounts, and don't sync or download anything, your battery will last 3 or 4 days on idle no matter what kernel you use.
Stock rooted KI3 (cf-root) is the best for battery life for me, i also have constat 3800+ quadrant score (with top of 4109 as my screenshot in leomar 2.7 rom thread).
Also i have the phone a lot, but really a lot less hot while gaming or stressing it.
KI3 stock kernel and SiyahKernel are at the moment the best in battery life. Anything else is running on older sources and drain more.
The best for me is SpeedMod! Smooth and long life battery. There is something you can't do (bootanimation oc uv bln) but simply great!
Inviato dal mio GT-I9100 usando Tapatalk
best results for me: stock kernel reflashed after rooting, for that stock rom.
Bar none the way to go.
Stock Rooted KI3 does look good, am yet to test it though
Hmm. So seems like you guys are experiencing deliciously good battery life with KI3 kernel. I shall try it and report back with some numbers.
try siyah kernel. one of the fastest growing kernels IMO
For me is Ninphetamine 2.1.3 and now i'm trying SiyahKernel 1.7.7
My question is.. between stock ki3 and SiyahKernel 1.7.7 the difference is really small (barely notice it) or big?
I tend to not flash to much kernels since the very small chance to corrupt the efs folder (even if ofc i have my backup), so if it's only small improvement, i stay on the stock ki3, if it improves a lot, i prolly try it
I've been using the siyah kernel v1.7.7 and I've been experiencing a great battery life. I didn't use the stock kernel for long to make a comparison but I sugest you give siyah at least a try, since you can always go back to stock if you don't like ir.
Updated 1st post with my new findings.
info5i2002 said:
Updated 1st post with my new findings.
Click to expand...
Click to collapse
batistaRom and ninp 2.0.5 great battery life for me...if you like i can post screenshots if anyone is using setcpu, depending on your kernel try and research in the kernel thread regarding frequencies that other users suggest and adjust yours accordingly...thats what i have done for mine and i could not be any more happier
Alright. I've finally got off my lazy ass and flashed a 2.3.5 rom (LeoMar if you must know) and am currently using siyah 1.7.8. Will report back within 24 hours after I've put the device through a day's use.
cf root KI3 stock kernel on RevolutionRom 2.7.1.
53 hours battery life 3 hours 19mins screen time wifi on 1/3 time, 4g on 2/3 time with facebook sync.
scorpion667 said:
cf root KI3 stock kernel on RevolutionRom 2.7.1.
53 hours battery life 3 hours 19mins screen time wifi on 1/3 time, 4g on 2/3 time with facebook sync.
Click to expand...
Click to collapse
Pix or it didn't happen
Hi, I posted earlier saying that siyah 1.7.7 gave me good battery life. I tried now the cf root v4.2 KI3 and I had better results. Well, I'm someone that don't play many games, but I surf a lot and download a lot of stuff on wifi. I don't care much for overclocking so I think I'm going to stay wth KI3 cf root. For me they're both great for battery life, and maybe the other ones I have not tried are great also (speedmod, ragemod, ninphetamine...)
I think what happens with kernels, and this happens also with custom ROMs (and everything really, brands, etc..) is there is a lot of fanaticism. People like to choose one ROM and kernel and stick to them. They start to defend the kernels they use convincing themselves they're the best no matter what. That is in my opinion the reason because this kind of discussion turns meaningless. Well not that meaningless, at least it gives an idea of the kernels people are using, at least we know speedmod, ragemod, siyah, nimph, are all great kernels.
I'm not criticizing anyone, in fact, I'm just another example of the people I described.

ROM that doesn't drain battery massively while Wi-Fi is connected?

I've tried so many stock ROMs, custom ROMs and full wipes, and I haven't gotten anywhere. My phone's battery drains around 6-10% an hour (and that's a conservative estimate) while on battery with Wi-Fi on. For comparison my Wi-Fi on my GALAXY Note 10.1 has been connected for 12 hours straight and the battery has gone down by around 2%. Thus I am convinced I do not have a network problem. I also do not believe it is a rogue app: I have of course checked BBS for wakelocks and while I do see a fair amount of wlan_rx type wakelocks there is no app behaving out of the ordinary. I have also tried turning off sync, but to no avail.
TL;DR Thus my question to you is, which ROM (if any) can prevent this Wi-Fi drain from occurring?
I think wifi drain is often more related to your kernel. Maybe you should try Siyah kernel. Or if you're running a stock rom, Speedmod kernel.
Lctwisk said:
I think wifi drain is often more related to your kernel. Maybe you should try Siyah kernel. Or if you're running a stock rom, Speedmod kernel.
Click to expand...
Click to collapse
Agreed. Wifi is controlled by the kernel, every rom and kernel I've used drain the battery when connected to wifi. It's just a power hungry system. Try to reduce screen brightness whilst browsing.
Sent from my GT-I9100 using xda premium
Flash another kernel, and perhaps tweak it a bit
Sent from my GT-I9300 using xda premium
Imperiale said:
I've tried so many stock ROMs, custom ROMs and full wipes, and I haven't gotten anywhere. My phone's battery drains around 6-10% an hour (and that's a conservative estimate) while on battery with Wi-Fi on. For comparison my Wi-Fi on my GALAXY Note 10.1 has been connected for 12 hours straight and the battery has gone down by around 2%. Thus I am convinced I do not have a network problem. I also do not believe it is a rogue app: I have of course checked BBS for wakelocks and while I do see a fair amount of wlan_rx type wakelocks there is no app behaving out of the ordinary. I have also tried turning off sync, but to no avail.
TL;DR Thus my question to you is, which ROM (if any) can prevent this Wi-Fi drain from occurring?
Click to expand...
Click to collapse
You can try dorimanx Kernel too. Just be careful which version of any kernel you flash. Make sure it is compatible with the version of android you are running.
Sent from my Nexus 7 using xda premium

Battery friendly MM [Android 6 ] Rom for Moto E | Your opinion/ suggestion !

Ever since I have shifted to MM rom, my battery is draining way too much. Have tried Greenify, Amplifier, AppOpsXposed, Powernap, Doze editor, but they have barely been able to provide me with a solution for my device.
I have been suggested by some of the above app developers to change my rom/kernel and see if the issue is still there. Hence I am seeking opinion from the testers on this forum - as to which rom for MM they've used and found most battery friendly. I will give it a try for the time being and see if battery drains the same way as before.
Any kind of input and suggestion is highly welcome, please do not forget to respond on the topic.
Maybe the reason is this:
ProudRed said:
Ever since I have shifted to MM rom, my battery is draining way too much. Have tried Greenify, Amplifier, AppOpsXposed, Powernap, Doze editor, but they have barely been able to provide me with a solution for my device.
I have been suggested by some of the above app developers to change my rom/kernel and see if the issue is still there. Hence I am seeking opinion from the testers on this forum - as to which rom for MM they've used and found most battery friendly. I will give it a try for the time being and see if battery drains the same way as before.
Any kind of input and suggestion is highly welcome, please do not forget to respond on the topic.
Click to expand...
Click to collapse
Most of the Marshmallow ROMs available for our device are based on CM. Even some ROMs like VanirAOSP say they use AOSP as their base and dunno for some reasons I believe it's CM.
Now the problem is, after November, the device tree of CM got affected and all ROMs, CM or CM based which were compiled using the official tree, have the battery drain issue.
I am not 100% guaranteeing you that this is the reason but in my case that's what I feel.
Solution: I am using a very old build of Mokee ROM. It is based on AOSP and there are stable releases for our devices. I am using 28 June 2015 build as the new builds have a weird problem of phone being kept awake by the apps which are disabled by me. Weird, right?
So, I recommend you try an AOSP based ROM, old builds preferred.
P.S I get SOT of 8 hours on mixed usage and nearly zero % battery drop overnight.
Ptmaroct said:
Most of the Marshmallow ROMs available for our device are based on CM. Even some ROMs like VanirAOSP say they use AOSP as their base and dunno for some reasons I believe it's CM.
Now the problem is, after November, the device tree of CM got affected and all ROMs, CM or CM based which were compiled using the official tree, have the battery drain issue.
I am not 100% guaranteeing you that this is the reason but in my case that's what I feel.
Solution: I am using a very old build of Mokee ROM. It is based on AOSP and there are stable releases for our devices. I am using 28 June 2015 build as the new builds have a weird problem of phone being kept awake by the apps which are disabled by me. Weird, right?
So, I recommend you try an AOSP based ROM, old builds preferred.
P.S I get SOT of 8 hours on mixed usage and nearly zero % battery drop overnight.
Click to expand...
Click to collapse
Thanks a ton for the feedback. Mind PMing me a link to the build you are using ?
ProudRed said:
Thanks a ton for the feedback. Mind PMing me a link to the build you are using ?
Click to expand...
Click to collapse
Check PM
Im on Rolan Droid's Cyanpop mm.. With clariry kernel r19 with greenify.. I too get around 0% battery drain overnight.. And the performance is pretty good too.. Much better than a few others that I've tried..

Battery drain

Hello guys, i had some serious battery drain issues. I tried installing different roms with different Android versions but problem persists thru all of them. I seemed to have had best results with unofficial roms like OzcanRom. Now i got LineAge OS installed because android 5 is too outdated by today standards i miss allot apps. I will include BBS log as ive got no idea what to look for over :crying: there and i hope some of you guys can help me
I posted BBS log in paste bin as i didnt know how to make it work here. Here is the link: pastebin.com/AXJ9sz2g
Due to spam protection it didn't alow me to paste normal link but this will do just as good of a job
Im getting about 9hrs of stand by time with 1 hour of SOT.
Update
So after experiencing few more bugs with LineageOS i decided to revert back to OzcanRom and tweak it myself. I applied some tweaks with custom kelner, eliminated all wakelocks and background drains. Now i have around 13hrs on battery and 3hrs of SOT and now i dont have to carry 10000MAH external battery with me. If someone wants me to write in detail what ive done post reply or PM me
ognjen73 said:
Update
So after experiencing few more bugs with LineageOS i decided to revert back to OzcanRom and tweak it myself. I applied some tweaks with custom kelner, eliminated all wakelocks and background drains. Now i have around 13hrs on battery and 3hrs of SOT and now i dont have to carry 10000MAH external battery with me. If someone wants me to write in detail what ive done post reply or PM me
Click to expand...
Click to collapse
I would love to know that, just got a Galaxy Alpha at I plan to apply custom kernel and ROM, so which tweaks to use would be very helpful
Hi. Could you please tell me what to do to stop battery drain?

Battery issues with OREO roms

Is the Oreo roms draining battery faster than usual on standby? I've tested a couple without custom kernels. Please comment if you've found similar results.
Rifat Rezwan said:
Is the Oreo roms draining battery faster than usual on standby? I've tested a couple without custom kernels. Please comment if you've found similar results.
Click to expand...
Click to collapse
Dont expect battery performance like miui on customs roms. Custom roms are just made for pleasure. If Ure rooted try greenify to hibernate those power hungry apps and keep your location off when not needed. Try velvet rom. It will tweak battery life a little.
Rifat Rezwan said:
Is the Oreo roms draining battery faster than usual on standby? I've tested a couple without custom kernels. Please comment if you've found similar results.
Click to expand...
Click to collapse
what rom and type of apps you use? i am a slight heavy user, and am able to get a minimum of 1.5 day charge, that too with xiaomi doze enabled. Also i dont really support custom kernel to be used right now, because the actual devlopment of oreo 8.1 isnt over, so kernel management can be finnicky. but then try looking in which app consumes most power.

Categories

Resources