Battery Notification
Moderator: Martin
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Battery Notification
Hi guys,
I have a battery notification flow that i created, and i would like to add a couple of things.
I would like to be able to show the time remaining go discharged or time to charged.
Also i would like to show the current battery percent as the notification icon instead of a static icon. Is this possible? I was thinking i could use a variable but i can't see any option other than an static icon.
Thanks, Sam
I have a battery notification flow that i created, and i would like to add a couple of things.
I would like to be able to show the time remaining go discharged or time to charged.
Also i would like to show the current battery percent as the notification icon instead of a static icon. Is this possible? I was thinking i could use a variable but i can't see any option other than an static icon.
Thanks, Sam
Re: Battery Notification
For estimated times remaining, you could calculate the difference between 1% change of charge triggers, and multiply that time with remaining charge percentage, or with 100-remaining charge. Be aware that especially a chargíng diagram is often not linear, especially when charging the last 5 to 10% - you may have to arithmetically compensate for lowered charging current in that range, for better accuracy. Also, devices often turn off above the 0% marker, which is easier to compensate.
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Battery Notification
Thank you for replying.
I started on a bunch of flows that should calculate each individual 1% change average and based on that average an estimated time to charged/discharged.
This should be fun. I'll probably spend a good few hours tweaking this.
I guess my other question about having a variable as thr the notification icon is more a question for Martin but i guess it's something that will require his time to add it as a feature. I guess I'll have to settle for a variable notification title.
Sam
I started on a bunch of flows that should calculate each individual 1% change average and based on that average an estimated time to charged/discharged.
This should be fun. I'll probably spend a good few hours tweaking this.
I guess my other question about having a variable as thr the notification icon is more a question for Martin but i guess it's something that will require his time to add it as a feature. I guess I'll have to settle for a variable notification title.
Sam
Re: Battery Notification
A widget, with a variable used in its text showing, will be updated when the value of the variable changes.
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Battery Notification
Yea i thought about a widget, but where do i put it? I don't really like widgets for something like that. I'd rather have it in notification drawer out of the way but still visible.
I've seen it done on other battery apps so it's clearly possible, it's just something I'll have to wait for if Martin decides he wants to do it.
Thanks, Sam
I've seen it done on other battery apps so it's clearly possible, it's just something I'll have to wait for if Martin decides he wants to do it.
Thanks, Sam
Re: Battery Notification
You'll have to use a "static" icon but you can of course choose the text that is displayed with your notification as you see fit. Assign a unique number to your notification and then update that notification as the battery level changes.sambarlick wrote:Yea i thought about a widget, but where do i put it? I don't really like widgets for something like that. I'd rather have it in notification drawer out of the way but still visible.
-
- Posts: 96
- Joined: 27 Jul 2014 10:40
Re: Battery Notification
Thanks for replying. I currently have just a static battery icon for my battery notification and a variable in the notification title that updates when the battery level changes.kintrupf wrote: You'll have to use a "static" icon but you can of course choose the text that is displayed with your notification as you see fit. Assign a unique number to your notification and then update that notification as the battery level changes.
Sam
Re: Battery Notification
Hi Every One
I have created a flow which shows exact time to fully recharge in notification and widget with accuracy of 99.99999 %
Because this flow can adjust itself automatically every time you charge battery. So it is most accurate thing in ANDROID WORLD for predicting remaining charge time.
If you wish I can upload the flow that I have tested and polished for over 6 months continuesly
I have created a flow which shows exact time to fully recharge in notification and widget with accuracy of 99.99999 %
Because this flow can adjust itself automatically every time you charge battery. So it is most accurate thing in ANDROID WORLD for predicting remaining charge time.
If you wish I can upload the flow that I have tested and polished for over 6 months continuesly
Re: Battery Notification
I would love to see this flow!BAZ wrote:If you wish I can upload the flow that I have tested and polished for over 6 months continuesly
Re: Battery Notification
Please upload it yes.BAZ wrote: If you wish I can upload the flow that I have tested and polished for over 6 months continuesly