yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
10 hours wow that sounds indeed really bad.

Any sign of some applications eating away on battery?

What screen on time is this ten hours with?

Could you share your power/ battery stat screenshots?

Edit : I use boost+
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Thanks for replying Buddy. I will see what it does tomorrow and screenshot power/battery stats. Screen on time is under only 1 to 2 hours lol. It's awful, I'm thinking of trying a new SIM, if that doesn't work then it is the Verizon Network signal I am getting or I got a bum device. The thing that bugs the heck out of me is my first U11 would last a day and a half.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] dijia1124:
My cell standby uses the most batter life too when its in LTE/4g network.I think it relates to HTC
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I forgot to mention last time, but now Bad Boyz ROM tweak app supports CleanSlate kernel tweak parameters! Thanks [MENTION=506238]OMJ[/MENTION] !
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, on the HTC 10 while porting flashlight blink, I found some nice possibilities to enhance blinking consistency for flashlight notification.

Going to be a next thing to update on the u11 as well... :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
I don't want to mess up your thread buddy but if you can have a look I'd appreciate it, don't spend time on it just would like your opinion. I'm wondering if there is a way to see if my battery is the 3,000mah battery for sure. It's just night and day difference from my first U11. Here are some screenshots. Thanks

***Edit I'm gonna go to Verizon and get a new SIM card. I think I have a bad SIM or wrong SIM.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Holy ****... That's some consistent drain you got there.. Deffo not normal for an u11 I wouuld say..

Quick check would be to pop your sim out and use it for a day without sim or in airplane mode(but with WiFi on so just your sim is not connecting) ... Then you can see of your sim is causing the issue.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
I just got a new SIM card and this is the first time I have every seen my cell standby this low. It hasn't been long but it's a good sign. Thanks buddy.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Would you mind showing me some screenshots of your battery stats?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hmm, what hit me is the level of Google services being quite high on one of the screens, over 10% Also it seems the cpu is waken many occasions.

I'm not sure about the cell standby, I get very high cell standby percent when phone is off of data for the night.

Question: what firmware is the phone on, version, region

What I'd try is make a backup, wipe the phone and without google or any account, check how the clean standby time, drain goes.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Did you check that all CPU clusters are throttling down? When I had that curious problem with my SDcard my little cluster was not throttling down. It was pegging to max constantly and I was having same battery drain as you experienced. Also try to find out if the device deep sleeps after switching it off after few minutes.

Send from the amazing HTC U11
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
No I'm trying to learn about all that stuff, don't really know how to check, never really had this problem before. And it seems the new sdcard isn't fixing it. What did you do to fix?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I would try to get better battery stats up and running. It’s the mightiest tool to find abnormalities in your phone’s behaviour.

To do so.

Backup everything on your phone. Including pictures and everything. Transfer it to a pc. So you can restore it.

Wipe your phone completely clean in twrp.

copy over maximus rom and cleanslate kernel ( enables debugfs for better battery stats).

Choose only stock options in maximus.

reboot

Boot to twrp

Flash cleanslate

Finish google setup without restoring any apps.

Copy better battery stats apk ( search for it on xda) to system/app and set permissions to 644.

Setup better battery stats.

Set a custom reference point.

Let your phone sleep for 3 hours.

Check if there is drain. And look at the different sections in better battery stats to find out what’s causing the drain.

That’s just a general guideline :)

If there is no drain slowly restore back your phone. To know what is causing it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
I purchased better battery stats yesterday. But I see you say make it a system app so I will try that. Definitely going to try this, thank you guys very much.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Just fyi since u have paid version there is beta v2.3 avail in PS...few tweaks to work even better.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
so far so good with the new method for precision delays and alarmtimer for additional workqueue wake up consistency.... final calibration went well... no drop out in blinking / vibrating notifications -- going to upload soon

:good: :cowboy:

[youtube]kJqVBh2JAJk[/youtube]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
It looks like Maximus doesn't support U.S. unlocked htc_ocnwhl? I have no signal. I forgot to mention I am on Verizon. I guess I will take your advice running stock RUU? Thanks.

That is awesome man. And that case is looking pretty sweet, I think I'm going for it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Still tuning it a bit to use as little battery as possible with this (the flashlight timing needs a tad more CPU as it cannot be programmed to do blinking without actually using the CPU to run...)

The case is good, I like it with the carabiner thingy, it's very convenient and secure. It somewhat counterweights the fact that I'd like a bit higher front lip (tho' there's a bit about 0.3 mm), and a bit stronger corners (tho it's TPU so would absorb, but still...). But the back part looks like it could survive a few beats... :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
U could also try clean install of LeeDroid b4 going full Ruu. U did backup ur stuff already as suggested...follow other items [MENTION=3428502]Freak07[/MENTION] recommended.

---------- Post added at 01:20 PM ---------- Previous post was at 01:02 PM ----------

Edit...I am running Lee r62, CSlate, and BBS w no problems...if I can help in any way.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.3.1 stable -​

Flashlight notification update:

- Battery optimizations, more deepsleep

- More consistent blinking (with additional alarmtimer based smp idle cpu wake for workqueue)

- Default delay between flashlight blinks is increased to 3 seconds, and the auto increasing of delay time is quicker, for less battery drain

- somewhat shortened blinking for battery saving

Download (2.3.1v2 reuploaded):

https://www.androidfilehost.com/?fid=745849072291681189
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
reuploaded a new 2.3.1 as v2, dim mode blinking modified to blink both camera leds... was too weak even for Dim blinking.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
I screwed up big time lol. I went to flash Maximus and noticed in the installation there wasn't a choice for U.S. unlocked, so I paused and freaked for a second, then I remembered reading in the thread some others on U.S. unlocked were running it with no issue from picking the International option so I went with it. It all installed well and booted, but without my Verizon signal. Now no RUU or stock backup will retrieve it so I am returning it to HTC for repairs. I told them about my battery drain issue and no signal issue. I highly recommend no one with U.S. unlocked flash Maximus. I should have known better, it says which devices it supports but I thought if something happened I could recover from it. I have a backup of my modemst2 partition, that seemed to halfway restore my signal, it registered me back on the Verizon network but still a slash through the bars. I am thinking I should have made a backup of my modemst1 partition as well. That may fix it if I dd restore it. I was wondering if my very first full stock system image nandroid would fix it? I am S-Off and can return to the first firmware and try but I guess I am just gonna send it in for warranty. Sorry about posting this in your thread buddy.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=3795321]LibertyMonger[/MENTION] flashing the rom never flashes radio, only system and boot partitions are affected.

Simply flashing back to LeeDroid or a stock backup from the stock thread could help.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Quick question, who uses flashlight notification and flashed new version:

Any feedback, is there anything to add, change you'd like to see related to flashlight notification ?

I plan to add a power brightness flash mode to have a non discrete brightness, like you could see earlier in play store flashlight notification applications, so if you prefer a very bright flash it'll be possible. I prefer the way it is now, but there's feedback requesting this option.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Some battery results on moderate usage, 4h+ sot and lots of standby.

1day17hrs
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Sadly no. It is on for me, but phone is laying on the back most of time. I just like to see it flashing when I take it in my hand.. it doesn't consume too much battery so I leave it on for fun, otherwise I would have turn it off.

Greetings from hospital.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Yeah but that ROM was not meant for the U.S. Unlocked version. You don't think partitions could have been messed up? I have flashed ruu's and even went back to 1.16 stock. Nothing seems to fix it. I wanted to send my phone back anyway cause I think I got a bum phone with a bum battery. I'm hoping they can fix the battery life, I doubt it unless they give me a replacement.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
No. You just need twrp backup of system & boot from us unlocked.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
Hey neighbor! What's going on, if you don't mind me asking, are you OK?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Yeah I've tried, it must be the lost signal issue from Verizon isn't really fixed then. I was thinking of trying my full stock system image backup but that was from the first or second firmware. I have temporary s-off
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Just some little illness all will be good :) thanks for asking.

I read phones on Verizon are picky, did you try full US Unlocked RUU? It is easy with temp S--OFF, just always after flashing go back to download mode first and only then reboot to system or recovery or..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Yes I have tried multiple times. Radio never comes back. I was wondering if I could flash back to the 1.11 original ruu with s-off and then maybe flash my full stock system image? Or if I can flash my full stock system image under s-off with the current 1.28 firmware. Does the full system image flash radios?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
No. Firmware part flashes radio, not system image.

I didn't stick much around Verizon thread, but I suggest you RUU to latest US unlocked zip and jump to Verizon store/call support to somehow activate your SIM again..

Or you can place SIM in another phone that you know will register with Verizon and after successful, just place it in U11 again..

Just my thoughts
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Yea, I would like a more bright flash notification.

It's not easy to make it work like text input settings between like 1 to 10 as in low to bright right?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, will have a look at how many brightness is possible. Thing is the led have only binary state and dim it's achieved with playing power off while it ramps up. So mostly two meaningful brightness levels achievable. I can play with leaving it on a bit longer to make it more perceptible... Will see
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Wow, they may deactivate cards based on phone firmware change?

That's something
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yep [MENTION=8395457]velimirchek[/MENTION] get well soon!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Don't know for sure, but there is a whole thread in Q&A about Verizon **** so I just suggested some of the ideas
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, I've read such thing myself too, but it's just incredibly low if Verizon does this. Probably justified with stolen Sims? But still
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.3.2 beta1 -​

Flashlight notification b1 update:

- Adding Flashlight Blink Bright mode (a powerful flash, default ON each 5th blink)

- Adding Flashlight Blink Bright Number config. Default each 5th blinking is Bright (the first, then the sixth, then 11th...)

Thanks [MENTION=4911909]mesarabi[/MENTION] for bringing up the idea.

/sys/class/leds/button-backlight/bln_flash_blink_bright - 0/1

-- /sys/class/leds/button-backlight/bln_flash_blink_bright_number - 1 - 10

Download beta1:

https://www.androidfilehost.com/?fid=673791459329053870

[MENTION=2632943]Whiskey103[/MENTION] I think this should draw enough attention and is still not a Christmas tree :D let me know... i think the number option and other flashlight options already present leave room for a lot of variations, how often it blinks, and even each can be an eyeblinding flash like the newly introduced :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
Just another perspective on battery life. Roughly 34 hours, with 6+ hours screen time. The past couple days have had me traveling, so very light use, but you can see how it can be...

See attached screen shots.

US Unlocked U11. T-Mobile. Leedroid and CleanSlate always. Magisk root. Use an app called Naptime (from Play Store, paid version), and a couple Magisk modules. I believe part of my battery life is also attributed to an app called Lux (paid version). It overrides the built-in screen brightness controls, profiles tweaked heavily over several years with various HTC devices to keep the screen brightness very low unless outdoors or driving.

I've also used both BBS and GSam battery apps (yeah, paid versions :good:), but keep coming back to GSam as I like it's presentation of the info better.

Thanks to tBalden and LeeDroid, for the awesomeness. :highfive: Support your U11 devs as best you can!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
Oops...see above.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Iam not sure what iam doing wrong but as soon I enable "respect DND" the flash notification stops working even when my phone isn't in actual DND mode.

Anyone else can test this?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Yes, the current flash brighness is very much sufficient for me :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Respect dnd is where?

That means if in exkm that it will only do flash notif if vibrating notifications happen.

It's a bit confusing, but that's the most I can do in kernel code
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Ohh, Oke.

So to make sure I understand correctly.

Its doesn't really look for real "DND" state but it binds to if vibration is set on/off?

So I just got confused due to the naming DND I guess right?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yes, only vibrating notifications will trigger it. That way if you switch DND and yet a notification triggers blinking on led it won't trigger the flash notif :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Yea, but I was thinking DND per default means everything off, no sound, no vibration.

My bad, I understand now, thanks. [emoji106]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Indeed, well DND mode can be set up in many ways I learnt recently.

I'm using it stock, where led is blinking, but I never cared to configure further
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Yea, explained it. DND has many states haha.

Never noticed until know.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Question: how many custom rom users would Ambient Display and Flashlight notification / Vib Notif reminder at the same time? Currently it's not possible, but I'm curious
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The Great Dane:
I'm more than happy bout the features who's already build in. But if you insists I'm not saying no to another one.?????
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
:good:

This is a maybe, when oreo ? comes out and Lee maybe find the way to enable it.

I've just found a new approach on the HTC 10 to accomplish that, where ambient display is available on custom sense and aosp
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Would it be possible to unbind the flash notification from the vibration trigger and bind it to the LED notification with the option to dim/disable during the night hours option?

As an option ofcourse, otherwise don't bother haha.

So basically, during the night it's off and during the set hours it's on no matter what kinda.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Not impossible, but not feasible.

I bound those together, because they need periodical cpu wake, while all the other leds can be programmed to blink without CPU.

What I can think of is to give a dimming period for the front leds too and give a possibility to vibration reminder with a period of off in the night, while flashlight is fully dimmed aka off still whole day..

If I understand that's your goal, right?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
No, I mean I like the (cam)flash option to be always on disregarding the DND state or vibration on/off.

Just basically, always flash, just not during dim hours/custom set sleephours/night blah blah.

Hope this makes more sense [emoji14]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok.

This is already there for flashlight notif

Just set the following paths ( now I'm not sure what these are in exkm )

Should be set to 0:

bln_flash_haptic_mode 1/0 - 1 = flash only when DND is off (vibration notifications will trigger the blinking) ( default value: 1 ), 0 always flash on notifications

Set it to 2 to not flash at all in dim period:

----- bln_flash_dim_mode 2/1/0 - 2 = in dim mode do NOT flash at all, 1 = in dim mode flash half the brightness of the full flashing, 0 = no dimming ( default value: 1 )
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
One another note [MENTION=2632943]Whiskey103[/MENTION] , using low-light switch it's ( for me and IMHO ) quite easy to switch between the different modes. I should film a tutorial about this.

Basically just installing kernel with defaults, I use pressing Volume up down simultaneously with screen turned off for a second or two and release. It will switch to dimmed mode, flashlight off, Bln off, vibration booster off, grill led low brightness.

In the morning I just press a short VolUp/Down while screen is off, and it gets to full light mode, flashlight on, Bln on, grill led full light, notification booster

A double VolUp/Down will switch all these plus vib notification reminder.

Both have a haptic feedback recognizable.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
ohhhh!!!!

Must have been lost in the wood of settings lol. thanks! that did the trick.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hehe nice startrek gif, I'm currently in third season new generation Mr Picard ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
Was a big fan of Ambient Display... So, yeah, would love to see what your magic could work there!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I really enjoy ambient display on OP5 and NOTE8, even maybe prefer OP5 implementation which activates on movement over sensor or raising the phone due to sparing some battery life. On the other hand, NOTE8 I just have to look at the phone and know what time it is and what notifications I have without touching the phone.

So I would enjoy it on U11 even if it is LCD screen.

Didi I completely miss the topic? Oh well, early and bored @ hospital.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
No :) I'm just curious. I personally like and dislike it.

With Oreo ? possibly it will be possible to have it working in custom rom.

Then I can port over my updates from the HTC 10 where I managed to have working kernel notification features and ambient display together

Personally why I half hate it is because it is touch sensitive by default and activates in pocket...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
mweh..LCD and ambient just doesn't make a lot of sense to me...

Especially now that we have squeeze to peek ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Note 8 has accidental touches in pocket option.

Also, while I was browsing files for [MENTION=3428502]Freak07[/MENTION] I found tidbits of ambient display in some file related to kernel, but forgot which one :(

So it might be already now possible ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It's not a kernel thing, it's rom thing.

Although now that you mention it could have a mimic, starting a peek when notification falls in... Even with a touchscreen inactive option... Hmm hmm

On LCD it could be full color as it is meaningless to be black and white on lcd
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
you don't follow me right :p.. just kidding.. by doctors orders I am not allowed to stare at mobile/computer.. just wantedt to say that in init or some kernel related **** there is mention of ambient display, of course it needs to be enabled also in ROM :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, that's fine. But hey, isn't this a plausible idea as an option, to have ambient display without root or rom, just kernel.

New sandbox to play around for me :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
if you don't run into it (it must have been init.rc or similar) I can try to digg it up in next few days when my eye pressure gets better :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, so now you don't get it. I'm so much professional that I can do it without any other thing rom/init ... Actually this is pretty easy to achieve, although it's only useful if instant lock screen on screen off is set on the phone, otherwise it'd just turn on onto whatever screen user left the phone

??
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
okey, sorry for not getting it, wanted to help, but I am better resting anyway :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Does that mean that you'd actually use it with these additional constraints? No black and white, and instant lock on power off / 0 lock timeout after idle screen off
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
yes.