Android widget showing the status of up to two batteries
Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings [+] Adding support for Eclipse Dec 26, 2011
lib * Updating the project to use JSDK 1.7, Android SDK 4.1 Aug 5, 2012
res ! fixed widget not updating on phones! Jul 4, 2012
resources * removed about_full from strings Jul 1, 2012
src/org/flexlabs/widgets/dualbattery * Improved the feedback fragment (minimum requirements + only clearin… Aug 5, 2012
.classpath [+] Adding support for Eclipse Dec 26, 2011
.gitignore [+] Adding support for Eclipse Dec 26, 2011
.gitmodules [-] Removing MixPanel reference Jun 17, 2012
.project
AndroidManifest.xml * Version bump to v1.1.8/30 Aug 12, 2012
CHANGELOG.md
DualBattery.iml * Updating the project to use JSDK 1.7, Android SDK 4.1 Aug 5, 2012
DualBattery.ipr
LICENSE [+] Adding the Apache License 2.0 Nov 21, 2011
README.md [*] reverting to the older image selection routine Apr 1, 2012
project.properties

README.md

Android Dual Battery Widget

It'll show two batteries, for the standard and the dock battery. If the device doesn't have the secondary battery (if it's not the Asus Eee Pad Transformer) it will hide the second battery

The widget doesn't run a service or anything else.. It will only register a broadcast receiver for the battery status as long as you have a widget on your screen. If you don't have one, it won't be doing anything at all (hence very battery friendly)

You can install it from the android play store here: https://play.google.com/store/apps/details?id=org.flexlabs.widgets.dualbattery

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)

Recent changes can be found in CHANGELOG.md

Note: To compile these sources you will have to pull down the linked submodules of this git repository. To do this run these git commands after you clone:

$ git submodule init
$ git submodule update