REQ: Widget to auto-solve uptime=awake time bug - Desire Themes and Apps

Hi,
As many HTC Desire/Incredible/EVO users know, there is a system bug in one of the syncronization services that keeps the device awake and completely destroys battery life and user's experience over the course of less a day. While it is solved by killing the Calendar service or keeping Flickr sync off by default, it sometimes reemerges to kill the battery again. It is a very annoying bug that HTC has not even considered solving so far, hopefully 2.2 ROM may or may not solve the issue.
Meanwhile I ask the XDA community to create an app/widget that solves the problem either automatically or by informing the user and assisting him in solving the problem by killing faulty sync processes on the phone.
The app/widget would have do the following:
* Monitor Uptime and Awake Time over the course of last X hours. X is set by the user, by default 6 hours, defineable up to 24 hours, user chooses upon creating the widget on the homescreen. If for the X last hours Uptime is equal to Awake Time, there might be in result of the bug.
* 1x1 Widget that shows icons: (1) green icon, if Uptime is not equal to Awake time and device is capable of sleeping; (2) red icon if Uptime is equal to Awake Time.
* Clicking the Widget has the following effect, choose which is applicable:
** It informs the user via dialog that he may be having the bug, he might have to kill the Calendar Sync, press Ok to open Running Services Settings where user can kill the Calendar Sync process.
** It kills the Calendar Sync process and any other processes known to XDA that cause the problem. Then informs the user that it has killed certain cervices via Notification Message.

Such an excellent post and not a single reply?

Such an old post, and one reply?
I encourage this, but bringing this back from the dead?
But having an app check for another one running all day would suck the juice out of your battery.
I guess.. I'm just a consumer, not a creator.

Hi!
I was searching just a same app. I have samsung i5700, and it doesn't have the built in capability to shwo the awake time.
So, i found this app: Uptime (developer is ZerOhOh, google it)
This is a widget, can show uptime or waketime, and the new version can count the %.

Related

Overcharged - battery monitor

Hi guys,
I've released my first Android application on the market. It's a free battery monitor that notifies you when your phone is fully charged and gives you misc information. This is my way of saying thanks to all of the developers and ROM cookers here in this great website.
Hope you like it and please share suggestions to improve it
Change log:
- Customizable notifications
- Auto start at boot time
- Fixed full detection
- Fixed notification
If you like it, you can make a donation, just follow the link in my sign. It will keep me motivated to develop more applications based on what people need
Looks impressive, I was actually looking for something to display the percentage use rather than a green bar. Could this replace the conventional monitor on the right or must it remain an extra notification? The health I think is great too, well done!
Thanks for your input. Hum... I don't have a clue on how could I replace the conventional monitor on the right. If anyone has a clue on how to achieve this, or where can I look for this, please let me know.
Doesn't look possible sadly ... maybe a home screen widget would rock!
Nice application, competes with "Battery Indicator", they both essentially do the same thing but I think this looks more colourful for free.
My only issue is that the % doesn't display other than when it is charged. Fix that and make it skinable and I'm in! Maybe have it appear on the lock screen in a similair manner to the iPhone too .
O and O said:
My only issue is that the % doesn't display other than when it is charged. Fix that and make it skinable and I'm in! Maybe have it appear on the lock screen in a similair manner to the iPhone too .
Click to expand...
Click to collapse
Hum... on my device the % changes in realtime, whenever the battery decreases (discharging) or increases (charging). About skins... never thought about that. I was looking into getting battery history and estimate how much battery we have left in terms of time.
Updated to v4
What's new:
- Voice notification when full.
- Misc fixes.
Updated to v5
- Fixed force closes that happened when people don't have TTS on their devices.
- Battery and TTS objects are now independent of the interface, reduced the amount of code and optimized the framework.
- Only updates when the battery changes instead of timed checks of battery level, meaning much more battery efficient.
Updated to 5.7
Changes:
- Preview voice alert
- Configuration of Text-To-Speech settings from application
- Icons according to GUI guidelines
- Fixed the detection of full charge
- Uptime since boot of the phone (might change in the future for since charged)
Looks fantastic, nice work
dferreira said:
Changes:
- Uptime since boot of the phone (might change in the future for since charged)
Click to expand...
Click to collapse
I for one would prefer this ( or at least have it as an option ). This would be helpful since I switch the phone off at night.
Thanks.
seems nice! i'm going to try it. just two things i'd love to see:
a nice battery widget similar to "battery info" (with all extra data and maybe a quick enable/disable overclocked feature) and the ability to disable the status bar notification, at least when not charging, since i don't need it as it replicates the stuff i see in my battery widget.
if you add these two whings i'm going to donate for sure
I love it, one of the first apps i downloaded when i got the Desire.. Donating for sure.
Thanks guys, keep suggestions coming. I've changed the uptime to reflect every time we charge, by reseting the uptime variable to 0 when we plug it in.
I would like to see a battery widget geared for us using the after market high capacity batteries (Battery Left never seems to get it right). I would like the option to give the high and low mV values, and have the app base the percentage of the battery left using those 2 values.
Why we don't have the icon like on the screenshoot in the first post ?
Sent from my HTC Desire using XDA App
i have not installed/tried this yet, but i wanted to know, is there a setting, whereby a setting to set the fully charge percentage?
Li-lon battery should not 100% charged, right?
does this shut down after its done charging? Or does it use battery resources?

Google news and weather

Hi all!
I was using a non-sence build (nexus one) and i had the "news and weather" widget of google working good; when i open information on weather it showed me the graph of temperature changing with time; and i could drag time to see temperature at a given time!
Now i am using a non-sence build too (but desire, darkstone hd2froyo), i have the same widget but this time the graph doesn't show me all the hours of the day but only 1 hour interval which is irrelevant; i.e. it shows me when i drag on the graph say from 6 to 7 am while i'm on 3pm!!
Both are version 1.2.02 - RC2!
Did somebody have that too?!
Is there is any fix or new version!?
(i know it's a specific matter but the difference is in the details )
same problem, droid X
mine worked last week on the DX. not working this week on the DX. Same as you described -- I now get a graph that appears to be a 24 hour span with a slider set at the right of the frame listing the correct time (though it doesn't appear to be correct as it corresponds to the graph). When I touch the slider, it changes to a different hour and slides through that hour over what should be (and appears to be) a day-long graph.
All I can think of that I've done between the time when the graph/slider worked properly and it behaving like this is installing and uninstalling a battery widget and killing some apps.
Let me know if you've seen any changes on your end. It was a great feature when it worked, so now I miss it.

Help!! Have a battery drain

I have a battery drain and I think it might be causes by ghe fact that I dont have sleepmode
I have cognition s2 1.51 and rage mode t40
How do check what prevents me from entering sleep mode?
Theres an app called betterbatterystats with it you can check your wakeupclocks to see what app its keeping your phone awake i hope you get me.
Ya I get you but I dont under stand how to use this app at all and I dont know what wakelocks are. I just dont understand how this can hel pme understand what causes my battery deain
Look at your apps and widgets.
Does anything need constant updating?
A weather widget with x minutes before a new update?
Maybe some facebook/twitter thing?
Gmail automatic sync also causes wakes.
Settings -> Accounts and Sync
Look at this and check what accounts you have and which of them have auto-sync enabled.
Ill give you a shorr lost of what I think:
Wigdet locker (i have a clock widget)
Task panel widget
Facebook
Email
Juice defender
Alarm clock??
Viber
And I dont know but my dolphin browser is checked as a wakelock and it shows high usage on
BetterBatteryStats I think (i dont know what the red bars and blue bars mean)
As just posted here it may help .
in Settings->Privacy disable "Backup my data"
* restart the phone - yes, you have to, otherwise the process will continue running
jje

[Guide] Optimizing Oneplus One battery life

After updating to lollipop it seems that battery life is worse. This is a general thread to help in the optimization of battery life of our OPO. Will update often.
Reduce screen brightness: Brightness does not always have to be high all the time. Try to maintain visibility of screen. 15-20% should be okay. Try not to use auto-brightness as well.
Use App Ops: Disable Keep awake and Wake up for apps that drain a lot of your battery. One main app should be Google Play Services.
Disable Auto-Sync: This will help to reduce apps from syncing data often and reduce the battery drain.
Disable 'Ok Google' Everywhere: This drains a fair bit of battery as it keeps using your microphone.
Disable WiFi scanning always available: Might drain battery when screen is off
Download greenify @ https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en : This will help you to hibernate apps that keep waking up. Greenifying an app causes all the background functionality (service, periodic task, event receiver, alarm, widget update, push message) of this app will become out of service during the hibernation except when you are using this app. Not recommended to greenify Instant messaging apps, alarm clock apps. Recommended to purchase Pro to unlock more features such as greenifying system apps
usvimal said:
After updating to lollipop it seems that battery life is worse. This is a general thread to help in the optimization of battery life of our OPO. Will update often.
Reduce screen brightness: Brightness does not always have to be high all the time. Try to maintain visibility of screen. 15-20% should be okay. Try not to use auto-brightness as well.
Use App Ops: Disable Keep awake and Wake up for apps that drain a lot of your battery. One main app should be Google Play Services.
Disable Auto-Sync: This will help to reduce apps from syncing data often and reduce the battery drain.
Disable 'Ok Google' Everywhere: This drains a fair bit of battery as it keeps using your microphone.
Disable WiFi scanning always available: Might drain battery when screen is off
Download greenify @ https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en : This will help you to hibernate apps that keep waking up. Greenifying an app causes all the background functionality (service, periodic task, event receiver, alarm, widget update, push message) of this app will become out of service during the hibernation except when you are using this app. Not recommended to greenify Instant messaging apps, alarm clock apps. Recommended to purchase Pro to unlock more features such as greenifying system apps
Click to expand...
Click to collapse
Due to the nature of the OPO I'd say the majority of people who come here already know these tips and have moved into the advanced areas of flashing/modding/custom kernels/roms etc. You could always check out the below thread for all guides and tips, or even share your own battery life experiences in the other thread below.
http://forum.xda-developers.com/oneplus-one/general/index-oneplus-one-resources-compilation-t2843675
http://forum.xda-developers.com/showthread.php?t=2753354
Not really, there are quite some newbies who do not know these tips. Maybe I should add more aggressive battery saving tips?
Please feel free to post in the existing threads. Making new threads only makes information harder to find, so I'm closing this thread. Thanks!

Unreliable Notifications

For the last few months I've been missing a lot of notifications on my S8 that previously worked flawlessly, both before and after I updated to Pie back in January.
Some apps like discord, Messenger and Snapchat need to be opened to check for new messages. If they aren't, a message notification can take anywhere between 10 minutes to a couple of hours to come through.
For each app I'm getting this problem with I've made sure that I've done the following:
- set the app to be not optimised in battery settings
- set the app to be allowed to run in the background in battery settings
- set the app to not be checked in memory in device care
- verified that no power saving mode is on
I've also done a complete factory reset of my phone and that didn't solve the issue.
I've noticed that in my battery usage monitor the apps I'm having problems with have no background usage at all. I have no problems with WhatsApp and it has hours of background usage each day but discord has 0m of background usage.
This leads me to believe the S8 is killing the app in the background. When I'm actively using the app (it's open or has only been in the background for a minute) it seems to work fine. But after a little while I'll stop getting notifications and when I open the app from my recents screen I see the splash screen as though I'm opening it for the first time and then after a few seconds I get the notifications from the last few hours.
I haven't been able to find any other settings that could be killing an app in the background that is both not battery optimised and not memory checked.
Any other people with this issue or know of a solution?

Categories

Resources