yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jagan2:
WHAT'S NEW?

EB_6.3.5_BETA:

The App now relies on 'Notification Access' rather than the powerful & sensitive Accessibility Service, to be alive forever.

Upgrading from a previous version?

Click the activation switch, enable Notification Access even if you see the Bar already active.

On some devices, you may have to enable the App in 'Auto-start Apps' settings to survive a phone reboot.

Expect 0 mAh battery consumption. :D

EB_6.3.3_BETA:

#1 Added support for Android 8.0 Oreo.

#2 If you have faced "Permission denied" issue, this version should resolve it.

#3 On Android Oreo, in Status Bar mode, pulling down Notification bar wasn't possible, it's fixed now.

EB_6.2(.2)_BETA:

* The pulsating charging animation now remembers initial charge until power source is turned off.

* Lots of new Animations now available, including an option to disable it.

* Status Bar mode's background is now configurable as transparent or opaque.

* The UI now has clues on how to delete segments.

* Instructions to keep EB alive on Huawei/Lenovo added.

EB_6.1.5_BETA:

HOTFIX for crashes on some Android 6.0 devices

EB_6.1.4_BETA is a critical maintenance update featuring:

* The App now officially supports Android 7.0

* The 'Screen overlay detected...' issue on Marshmallow is finally taken care of, phew!

* Devices on which App crashes on launch is fixed (E.g., Moto X Pure)

* 'Merge Segments' color configuration now survives a reboot of the device.

* Thickness limit increased to 30

Thank you everybody for the amazing response, more updates will follow, if you love the App, don't forget to share it. Cheers!

EB_6.1.3_BETA:

* Attempts to resolve bugs faced by some devices.

Thank you everybody for sending in reports! :)

EB_6.1_BETA:

* Auto-hide is now not limited to just fullscreen videos, games, images. It will work on any fullscreen content which doesn't have a Status Bar.

* Support for Android 6.0.

* Flashy Ad replaced with native static one.

* UI glitches are now fixed completely.

* Lot of internal optimization for continued harmony between your device and Energy Bar :)
[Android Apps and Games] jagan2:
Discussion of the Release Version of the App starts from Post #20http://xdaforums.com/showpost.php?p=49385457&postcount=20.
[Android Apps and Games] jagan2:
Some screenshots by the XDA community, I don't know if the Bar is complementing their beautiful screen set-up or the set-up is complementing the Bar :D

Credits (in the order they appear in attachment): [MENTION=3296383]Gu$houn*[/MENTION], [MENTION=5086723]Micoolef[/MENTION], [MENTION=4884893]ivn888[/MENTION], [MENTION=3296383]Gu$houn*[/MENTION]

Missed your screenshot? Just mention me in your post to remind me to update here.
[Android Apps and Games] NBruderman:
Did you think to use xposed framework fot it?

Tapatalked from my GT-I9500
[Android Apps and Games] jagan2:
Well, I want it to be available for non-root users as well. So, not planning to use Xposed at the moment.
[Android Apps and Games] NBruderman:
How do you want to make changes in the UI without root?
[Android Apps and Games] jagan2:
The change has already been made, one of the devices in the video is not a rooted phone. :)
[Android Apps and Games] Watty162:
It would be great if you could set different colours for every say 10% increment so green for 100 to 90 blue for 90 to 80 etcetera, also being able to change the frequency of the animations from 1% to 2% or 5% or whatever would also be quite cool.
[Android Apps and Games] jagan2:
Every 10% might be messy, but will include the feature in a limited way, say every 25% may be.
[Android Apps and Games] polobunny:
Is it possible to change the bar height? That's a very needed feature if not. :)
[Android Apps and Games] jagan2:
I found the particular height I used to be an ideal one, but Indeed adding more customization option won't do any harm. Currently working on something that will significantly enhance the functionality of the bar, will showcase it soon.
[Android Apps and Games] polobunny:
I'm a very minimalist person, I usually set my battery bar to 1 dip in height. =)
[Android Apps and Games] jagan2:
Sure, you would be able to experiment with the height!
[Android Apps and Games] polobunny:
Off the top of my head, possibility to set a background color can be interesting too. That way if you have a transparent status bar and let's say a blue battery bar on a blue background then you can still see it.

That's all I can think of at the moment.
[Android Apps and Games] jagan2:
Currently targeting unrooted phones, will consider for some future version. Thanks!
[Android Apps and Games] polobunny:
I'm not sure you would need a rooted phone for that. Simply have the progress color diminish while keeping a "full" color bar behind it/right to it. Two colors to set in this case. :)
[Android Apps and Games] jagan2:
Oh got ya! I thought you were talking about status bar background, which is not possible to change, atleast not till 4.3
[Android Apps and Games] den5o:
My suggestions:

It would be nice to have the option to set the bars position to multiple locations (below the status bar, above or below the nav bar, or even left and right of the entire screen).

The centered mirrored option would be nice as well, as people who use roundr will have the bar cropped at the edge (happens to me with TEAM Battery bar and it's the reason I have it disabled now).

Also having a bar height option and being able to lower the opacity of the bar in case the user wants to have it overlap the clock and all the icons on the status bar.
[Android Apps and Games] jagan2:
[MENTION=3296383]Gu$houn*[/MENTION], Thanks for the the detailed response. And yes, deactivating through the App should have been enough. I will look into it. let me know if you see this issue happening again.

[MENTION=2133759]jb789[/MENTION], Yes, it's very much likely that there is direct conflict between the two Apps, as both are working as overlays.

[MENTION=5322934]stalli0nUK[/MENTION], Thanks for the video, do you use any other apps which works as an overlay? Also, let me know the version number of Energy Bar you were running when this happened? (The latest is EB_3.4 on Google Play.)

In the recent updates, the structural change I made is supposed to help the pulsing animation perform better. Which is working perfectly as I expected in majority of devices including mine. Before I rollback, I will try all options to resolve the conflicts. I will soon put up (in few days I guess, still on exams...) multiple .apks with different possible solution which you can try and let me know, as most of these conflicts is hard to reproduce on my device.
[Android Apps and Games] Gu$houn*:
Okay, it's here again, playing that game for about one hour, original battery state was 100%, I really don't know what's wrong ...

P.

[sntfrmnxs4]
[Android Apps and Games] grognaz:
i had the same drain issue yesterday, not sure when it started.

Edit: i think i have not seen this on earlier versions. was using 3.4 from play store. i will give 3.2 beta a try and see if it also happens. if you need something specific tested let me know.
[Android Apps and Games] stalli0nUK:
I used the one on play store, had screen flashing problems then tried the 2.3BETA and had same problem. The overlay apps I had was, nav layer and halo
[Android Apps and Games] jagan2:
Alright, I guess I will have to rollback some changes. But looks real weird, because I have been using the same latest version, and my Battery Usage page has no trace of Energy Bar. Anyways, a new version will be up with the necessary changes for equal satisfaction for all devices in a few days :D
[Android Apps and Games] Christiancs1969:
No trace on battery here too
[Android Apps and Games] cd69:
+1 no battery issues. On the latest google play version

Sent from my Nexus 5
[Android Apps and Games] grognaz:
maybe its only caused under certain circumstances so it does not happen all the time.

---------- Post added at 04:48 PM ---------- Previous post was at 04:42 PM ----------

would it be a lot of work to change che color selector to something a bit more acurate or adding a option to input color values?

the new color wheel looks fancy and all but its really bad to choose the desired color.
[Android Apps and Games] Gu$houn*:
Okay, what could I pull/post to help you solve this kinda disturbing issue? I really don't know what's causing that ...

P.

[sntfrmnxs4]
[Android Apps and Games] to22ek:
Great work. Fantastic app.

Wysłane z mojego GT-P3100 przy użyciu Tapatalka
[Android Apps and Games] kaemon:
BUG: Battery percentage and bar length doesn't correspond anymore...

I just updated to Android 4.4.2 on the Galaxy S4...

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Android Apps and Games] jagan2:
To be honest, I don't know the exact cause of that either, but I have got hold of few codes as suspects, I will be soon putting up a new test version that you may try and report back.

BTW, I just noticed, our Thanks meter is same (130,) let me make it uneven, *hits the Thank Button*. :D

Ah! Was it for a moment or it's persistent in doing that on your device?
[Android Apps and Games] kaemon:
Seems more like a freeze... deactivating and reactivating fixed it for now

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Android Apps and Games] jagan2:
*freeze*, alright! I think I know what changes I need to do to prevent it from happening again, there will be a fix for that in the next update :)
[Android Apps and Games] Gu$houn*:
Cool, something is probably broken on my side, yesterday after the second screenshot the rest of battery disappeared in 10mins so I freeze the bar for now and today it is ok, looking forward to the update.:good:

And btw -> *gotcha* :cool:

P.
[Android Apps and Games] jagan2:
The point is that the Energy Bar should never ever make it to the Battery consumption list, because it consumes literally nothing like a black hole,

I will attach a new test version to the first post soon and notify you. According to your situation description, whether Energy Bar is doing good or not, it eventually does make it to the Battery Consumption list on your device. So, if the new version make into the list of Battery Consumption by any percentage, that will mean it's not fixed and try out something else.
[Android Apps and Games] rbertani:
Congratulations, I will test it as soon as possible.

Best Regards
[Android Apps and Games] grognaz:
i have not seen the consumption problem since i wiped the app data. could it be caused by some leftovers from a old version?
[Android Apps and Games] hamsup1o:
Energy Bar showed up on my battery consumption list once and I noticed that the bar was still pulsating even though it was unplugged from the charger. I just plugged it in the charger and unplugged and everything was back to normal. Not sure if thats the case for you.
[Android Apps and Games] Gu$houn*:
I wiped the app data right after the first time the issue showed up but I can't confirm its profit because it seems the problem is there on every second/third battery cycle but not on all, really weird behavior.

The not properly ended animation issue I have had many times before the major update but it has not been showing on the battery list, after update this issue disappeared but the drain one showed up.

At the moment I'm testing my phone proper elementary functionality with the bar frozen and waiting if the battery issue will disappear or not.

P.

[sntfrmnxs4]
[Android Apps and Games] gfunas:
hmm...lets try this:cyclops:
[Android Apps and Games] jagan2:
Test build

[MENTION=3296383]Gu$houn*[/MENTION], try out this particular build, if you see it on the List, let me know asap as we don't need to do hours of monitoring the goal is not to bring on the list (not even by 1%.) Actually, I could roll back the structure of the Bar back to initial versions (on which you didn't seem to have problem,) BUT those initial versions consumed CPU a bit more than acceptable when Animating. In the later versions, the CPU load is kept minimum (it's hard to reduce any further.) And I like it this way, I don't want to roll back to the old structure if I could solve this battery bug that you see on your device.
[Android Apps and Games] Gu$houn*:
[MENTION=1884109]jagan2[/MENTION] thanks for your attitude, mate, really appreciate it, test build installed & phone rebooted, I'll charge it to max to renew the battery list nad will see ... :good:

P.
[Android Apps and Games] jagan2:
Update

This thread is now upgraded to XDA DevDB Project, :)
[Android Apps and Games] Gu$houn*:
Congrats! :good:

//10% to renew the battery list ...

P.
[Android Apps and Games] jagan2:
Hey BTW, are you running Android 4.4? If so, running the Bar makes your status and navigation bar go transparent (was experimenting something.)

I need some users who are running Android 4.4 for trying out some experimental features exclusive to 4.4. If anyone is there, let me know.
[Android Apps and Games] Gu$houn*:
Yep, running Purity 4.4.2, but I use Nova launcher Prime so my nav bar is transparent by default /on GEL it's the same/ and status bar is hidden on homescreen, on top I have the bar only ... and if you go into some app, they both get black.

P.
[Android Apps and Games] jagan2:
Great! Do you think your status bar is transparent everywhere? (When it's black, the background is probably black/there is no background color to show as transparent.) I was thinking of trying something that my friend had suggested me even before I started coding Energy Bar. That is, use the whole status bar as the Energy Bar and place the icons on the status bar on top of it, this is not possible without root permission, so I dropped the idea. But since, Kitkat 4.4 supports translucent status bar, I was thinking of trying out something like that, let me know what do you think about it?

After we are done testing this new version, we may test this idea.
[Android Apps and Games] Gu$houn*:
Ok, just unplugged it from charger, let's see what will happen.

I think it's an interesting idea, but I'm not the developer/programmer so I could just test it only, mate! The status bar is transparent by default on Google Experience Launcher, Nova & Apex PRO /AFAIK/, but only "in the launcher", as soon as you enter some app/settings, your bars get black, I could post some sreens if you want.

P.
[Android Apps and Games] jagan2:
My guess is that, it's translucent everywhere else too, it's just that in most of the Apps, there is nothing to show in the background of navbar and status bar and hence it's black. I will have a version uploaded after you're done testing with this one, which will hopefully test if the concept is possible or not.
[Android Apps and Games] hamsup1o:
I can help test as well as I'm on 4.4.2.
[Android Apps and Games] jagan2:
Great! Just hang on for a while, I will upload the test version here. :)
[Android Apps and Games] Gu$houn*:
Okay, I'll be glad to test it.

//after one hour testing of last test build everything seems to behave correctly.

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
Test Build for Kitkat ONLY!

Attached with this post is a experimental build of Energy Bar for Android 4.4+ (Kitkat) users only! Please try it out with the following things in mind:

#1 The particular version of Energy Bar will show ONLY when either the status bar is translucent OR the status bar is hidden. So, expect to revert back to stable version of Energy Bar.

#2 What I would like to know is plain simple, does it appear/display system wide (Even at places where the status bar is not explicitly requested to be translucent) ?

[MENTION=3296383]Gu$houn*[/MENTION], I suggest you to keep using that version for some more time, (may be until the Battery goes to 50%) so that we can be sure that it doesn't show up in the battery consumption list.
[Android Apps and Games] hamsup1o:
Did a quick test on this build and the results is what you stated. Energy Bar only shows up when the status bar is hidden or transparent. It will not show when the status bar is black and this appears to be system wide. It seems as if Energy Bar is running behind the status bar in this build vs. the stable build where it runs on top of the status bar. Hope this helps.
[Android Apps and Games] jagan2:
Thanks for the feedback! And I guess, it won't work, what I was trying to achieve is that, make the Energy Bar as thick as the Status Bar and at the same time, keep the Status Bar content visible. That is, display Energy Bar behind the Status Bar. Guess, the Apps just override Energy Bar's request to make the Status Bar translucent.

I could try out some other way to accomplish that, but I guess I will put this on low priority for now. (as I don't have a device that can run Android 4.4 :( )
[Android Apps and Games] hamsup1o:
Not a problem! What about adding an adjustable transparency option and allowing max bar width to the size of the status bar? Would that work?
[Android Apps and Games] jagan2:
Nah! Don't think that will look any good, would add a layer of color on the Status Bar icons, making the whole screen look messy, the current implementation looks pretty in my opinion.
[Android Apps and Games] hamsup1o:
I prefer the current look as well! ☺
[Android Apps and Games] Gu$houn*:
Okay, after one day of usage it seems to be working properly, I know it's not a regular usage, because of the weekend, but it's almost one battery cycle, the drop on the right side is gapps flashing few minutes ago so the stats are little bit confused ...

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
That's really great to hear! :D

I am working on a really exciting and totally new way to make multiple variable segments of the Bar visually for using in multicolor mode. A couple of questions I would like you guys to answer:

#1 What should be the limit for number of segments? I do not want to allow as many as possible, so as to maintain a quality user experience and visual appeal of the UI while configuring the Bar. Suggest me a number which will be satisfactory to both phone as well as tablet users (Considering 6 as of now, but bigger the screen size (like those of tablets,) the more splits is possible, so I don't want to completely restrict the number of segments)

#2 The color wheel will be replaced with the earlier version as some reported that the new one is not able to pick up some color near the circumference of the wheel. Also, do you think it's a good idea to include the set of color pallete present in the very initial version?

#3 Thinking of making the Animation pause while the screen is off. This will have two advantages, the first obvious one is, no CPU usage for animation and the second one would be, if you turn on your screen just to check if the phone is charging, the Animation will start from the beginning. In simple words, every time you wake up the device while it's charging, you'll see a new pulse coming from the configured edge of the screen letting you know quickly that the device is indeed charging.
[Android Apps and Games] Cookie Ninja:
For multicolour bar consider this:

Charging- Holo Blue colour.

100-80%- Green.

79-40%- Yellow.

39-20%- Amber/Orange.

19-10%- Red.

9-0%- Flashing Red.

Used to configure similar colour codes on battery bar on Win Mo 6.5 on my older devices.

Sent from one of my/our device/s
[Android Apps and Games] jagan2:
You'll be able to configure the segments with any color you wish ( :D ) , the question is maximum number of segments allowed should be? (From your configuration preference it seems that it's 5, which is still one less than the maximum am considering to allow - 6.)
[Android Apps and Games] Antagonist42:
Loving it's simplicity :D

Only suggestion I'd make is making the notification Icon an option to show or not, same as we have with the option Hide/Show Bar ;)

Bashing away at my HTC Desire C
[Android Apps and Games] jb789:
#1 What should be the limit for number of segments?... No idea, not sure I understand, and I'm happy with what you already offer.

#2 The color wheel will be replaced with the earlier version... The old palette was fine for me since one of the colors matched my cyan theme pretty closely. If possible, it'd be great if we could add a few custom colors to the palette via the color wheel or something similar. That would keep everybody happy & you wouldn't have to worry about which stock colors to include in the palette.

#3 Thinking of making the Animation pause while the screen is off... Sounds like a great idea.
[Android Apps and Games] Gu$houn*:
And here we go again ... the phone was left on qi charger for about three hours after it reached 100%, maybe that could be the reason, because the bar was on the first place right after I grab it from the charger ... until today it wasn't on the list.

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
But technically speaking, the Bar shuts down all it's animations once the device is at 100%. May be the new changes in the App is particularly effecting some devices for some reason, because, I have never seen it appearing in the list in my device since the first update after months. Or may be, the Animation wasn't shutdown properly when the charge reached 100%., I will try to make the implementation stricter to check that and of course, my plan to pause Animation when the screen is off even when it's charging should help a lot to rectify that. I'm almost done with the variable percentage of segments for multicolored bar mode. As soon as I am done, will release the update, and another update following that will most probably include the color selection option advanced with ability to read color hex codes etc.
[Android Apps and Games] grognaz:
i noticed that on single color the bar still changes color whrn the battery is getting low. is this intended to happen? it might be nice to have a option to choose wether it does this or not.

as for the battery issue. i have not seen it since i wiped the app data, althoug i had some serious drainage happening but dont know where it came from.
[Android Apps and Games] Gu$houn*:
Yep, it is correct, I am using one color too and when I reach <20% the bar gets red by itself, at first it kinda disturbed me but now I think it is pretty much handy because I use ultra minimal set up so it alerts me that the battery state is low, I am only looking forward to be able to change the treshold by myself.

P.
[Android Apps and Games] Antagonist42:
If you notice on the Colour Picker/Chooser at the bottom it's unselectable and has <21% so it turns red at 20% ;)

Bashing away at my HTC Desire C
[Android Apps and Games] Gu$houn*:
If this is a response to my post, you write the same like I did only in other words. :good:

P.
[Android Apps and Games] jb789:
You're probably aware of this, and it may not even apply to KitKat which Gu$houn* is running, but I just stumbled across this info about strange battery usage reports if it's helpful:

https://plus.google.com/108236931163619803631/posts/NB5pCNwVHzy
[Android Apps and Games] jagan2:
Yes, I did come across similar posts, the fact that this is happening on some particular devices is making it challenging to fix it, but anyways, it the last test version [MENTION=3296383]Gu$houn*[/MENTION] had tested seems to have fixed it, except when charging - that will be hopefully fully fixed as I disable the animation on screen off.

[MENTION=2749424]grognaz[/MENTION], [MENTION=4478935]Antagonist42[/MENTION] - you guys might wanna check the following post ;)
[Android Apps and Games] jagan2:
Finally! Update!!

Finally, update is ready for Beta testing! Coding all alone, testing this that, and then integrating the feature modules with the Main App sometimes miss out some bug here and there. So, I request you guys to not overlook anything, and try it out and if you find any glitch/bug here and there due to addition of new features let me know.

After a lot of thoughts/experiments I have come up with this design of splitting the Bar into segments which I think you guys will love! Try it out and let me know the feedback! ;)