[APP] Dual Battery Widget v1.1 (2012-06-30) (with source on GitHub)
Yeah, I know that there are a couple of these apps out there already, but I made this one for a couple reasons:
1) I wanted a resizable widget, that showed the status of both batteries in graphical form
2) I wanted it to be light and non battery-hungry
3) I wanted the widget to be available on the market (vs storing the apk on the sd card, etc)
4) I just wanted to try write a useful widget :P
So here is the Dual Battery Widget!
It'll show two batteries, for the standard and the dock battery. If the device doesn't have the secondary battery (i.e. it's not the transformer) it will just hide the second battery
I'll try to monitor this thread as much as possible, but if there are any problems with it, you'd best send me an e-mail about it (e-mail is in the market account)
Feedback is always welcome
Note: On the current release of Honeycomb, it is possible that the widget will not immediately appear in the widget list after installation. To refresh the widget list, you should either restart your device, or restart the launcher app (Settings -> Applications -> Manage applications -> All -> Launcher -> Force stop)
Also, I've opened up a project on GitHub with the full sources for the project.. Hopefully this will be useful to the community. It'll also have download links to the apk file (for those without android market... who knows.. )
Check it out here: https://github.com/artiomchi/Dual-Battery-Widget
Still working on new proper icons, so for now just made a basic charging "bolt"... Working on some proper, unified design
[+] New and revamped interface for tablets and phones! Proper support for Ice Cream Sandwich
[+] Ability to swap the battery icons around
[+] Horizontal mode! Display the batteries on top of each other
[+] Notification area icon showing the dock battery level (can be turned off in the settings)
[+] Google in-app billing for donations
[!] Lots of different bugfixes
2011-10-26: v0.8.3
[+] Added Chinese Traditional and Simplified, Italian translations
[+] Dock status descriptions in feedback message
Fix for the recent Aces firmware update. 0% battery dock support
Battery chart grid uses much better values
[!] Temporary fix for the disappearing battery chart issue
[!] Various other bug fixes
2011-10-12: v0.8
[!] Sometimes the dock wasn't identified after a long sleep cycle
[!] Battery chart will only load the last 7 days of history by default
[!] Battery voltage reported incorrectly
[+] Added Chinese and German translations
[+] Added multiple widget sizes for non HC devices
2011-07-04: v0.7.7
[!] Fixed the rare bug with crashing service on early widget update
[-] Removed the kernel alert dialog
[+] French, Spanish and Japanese translations!
[+] Settings window now shows current values in the summary field (atm only for HC devices)
[+] Battery info tab now has buttons for battery info and battery summary
[+] Added battery status logging, and chart for honeycomb devices
2011-06-26: v0.7.5
[!] Fixed the About dialog
[+] Saving the last charged timestamp
[+] Saving the last known dock battery level
[+] Adding margin option for the widget
[+] Dock label text can be black
[+] Last known dock battery level images (black and white)
2011-06-20: v0.7
[!] Battery saving mode was too aggressive... Android killing widget.. Battery status monitor service added
[+] Monitoring the last time that the dock was connected (shown in the batt info screen)
[+] Displaying an alert if your device doesn't seem to support the dock notifications
2011-06-20: v0.6.6
[+] New 10-step icons for the batteries
[!] Battery saving mode was too aggressive... now updating batt status after standby
2011-06-19: v0.6
[+] Showing battery info / widget properties / other info on widget click
[+] Option to select which battery to display (so you can have two widgets, one for each battery)
[+] Stack trace catcher (for the error reports)
[+] Feedback link (will open the e-mail app, and will contain some details useful for me helping you)
[+] About dialog (because I found a bunch of places on the net posting download links to the app, without any credit, or links to the market) grrrr....
[!] not recognizing dock on first boot
2011-06-15: v0.5
[+] Widget options dialog with text position and text size options
[+] Ability to hide secondary battery when it's not connected
[+] Battery charging indicator
Rooted HTC Desire from TM Cyanogen 7 Rooted Asus Eee Pad Transformer
Not at the moment, as I just wrote the whole thing yesterday night
I'll come back to it today after work, and will improve the battery icons + add charging status display
Rooted HTC Desire from TM Cyanogen 7 Rooted Asus Eee Pad Transformer
Looking good. It'd look better if you add a 0.1 black shadow with transparency to both the battery % text and outline of the widget. Oh and the dock battery doesn't hide itself is it not implemented yet? Or is it a bug?
Sent from my Transformer TF101
ASUS Eee Pad Transformer 32GB - EOS 4.2.2
Samsung Galaxy SIII (d2can) - PAC-Man 4.2.2
Thanks for the suggestion about the shadow.. I'll look into it tonight too.
Currently, if you're running the widget on the transformer, it will still show the dock battery, but it will state it as "n/a" (will change that to "Undocked" later). It will hide it completely if you're running it on any other device.
I'll be working on a settings dialog tonight, and you'll be able to choose whether you want to see the "undocked" battery
Rooted HTC Desire from TM Cyanogen 7 Rooted Asus Eee Pad Transformer
The only wee little thing id suggest is making the single battery icon (when no dock is connected) a tiny bit smaller, so its not so near the edge of its area, but thats just me being pedantic!
If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?