yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Themes and Apps] Flexer:
I'm not sure yet, but I definitely plan to look into it. But it's quite possible that the only way would be to patch the kernel itself.

I suppose that another way would be by doing this directly, using the ndk, but that's a bit overkill and would need more time to make it happen :S
[Eee Pad Transformer Themes and Apps] oztraze:
Installed this last night on my TF 3.1 stock. I get theoption to add to my homescreen and after I drag and drop it I get the options menu. But after that there is no widget being displayed. tried it with and w/o the dock. Not sure what the problem is.. Widget looks awesome and great job.. just wish it would work on my TF...
[Eee Pad Transformer Themes and Apps] Flexer:
Hmm.. That's strange... That shouldn't happen :)

I'm not sure if it would help, but did you try to restart?
[Eee Pad Transformer Themes and Apps] oztraze:
Did try to restart.. haven't tried uninstalling and reinstalling it though.. that might work.. will let you knoe
[Eee Pad Transformer Themes and Apps] 0mie:
Same here :)

Great work...anyway to add skinning support? I've got a lot of skins I made for Beautiful Widgets and I'd like to be able to skin it myself :)

Also OP, I asked a question few post back...anyway to add time unplugged? I'd love to see that as an option in the widget also
[Eee Pad Transformer Themes and Apps] greeny2010:
Nice work buddy. That's what the TF needs.
[Eee Pad Transformer Themes and Apps] Flexer:
Do you want the time unplugged to be shown on the widget itself?

Also, are you more interested in "time unplugged: {period}" or "last plugged at: {time}".. or both? :P

I'll add the widgets to my plans too then )
[Eee Pad Transformer Themes and Apps] oztraze:
Have tried re installing it but still no luck... out of ideas now
[Eee Pad Transformer Themes and Apps] 0mie:
All of the above ;P hehe
[Eee Pad Transformer Themes and Apps] creeater:
Yeah I'm in the same boat. The widget does not display for me.
[Eee Pad Transformer Themes and Apps] Flexer:
Hmm.. That's quite strange... But you both get the settings window, right? What do you do from there? Click home or back?

Also, probably a silly question, but did you check all the screens? Maybe it appeared somewhere else? =/

Could any of you (who don't have the widget appearing) post a dump of logcat around the time when you add the widget... starting before you add the widget, up to the point when the settings window closes.. ?
[Eee Pad Transformer Themes and Apps] WoodburyMan:
Thanks! This is my favorite of the several dual battery widgets out there!
[Eee Pad Transformer Themes and Apps] Havoc6266:
Just downloaded and installed. Works perfect!! One question, as you do updates to the app will this auto update on the TF101 like other apps? I think so but just want to make sure. :)
[Eee Pad Transformer Themes and Apps] Flexer:
Absolutely YES! That's one of the reasons I really wanted to have it available on the market :)
[Eee Pad Transformer Themes and Apps] Havoc6266:
Awesome and thanks for the quick reply.
[Eee Pad Transformer Themes and Apps] Flexer:
Ok... This build is for those that have issues adding the widget to the home screen.. Could you install this build, and try to add the widget again..

Then, when it fails, check the internal memory for a folder called dualbattery (/sdcard/dualbattery/)

If it's there, send me the stack trace dumps from there.. Hopefully this will help identify the issue.
[Eee Pad Transformer Themes and Apps] buddyd16:
The widget is excellent thank you for creating it.

I was wondering if it would be possible to add text to show how much time you have left till the battery is empty similar to what a laptop would display when you click on the battery icon.

not sure if there is the capability built into the sdk to get that directly but maybe it could be accomplished by taking the current battery charge divided by the current power demand and then converting the units to standard hours:minutes estimated usage time remaining. That would also require an easy way to pull current battery charge and current power demand.
[Eee Pad Transformer Themes and Apps] Flexer:
Hmm.. to be honest, I don't think there's anything like that in the SDK.. Besides, any kind of battery estimates on a device like this would most likely be highly inaccurate..

On a PC, the battery drain is relatively constant (sure, it depends on what you're doing, but you're bound to drain the battery within 2-3 hours, or 5-9 on netbooks)

On a tablet, when it's not doing anything it's hardly eating the power at all.. the brightness changes continuously based on the light conditions.. It also goes into soft standby on a regular basis, when the battery drain is ridiculously small (cmpared to PC :P ) You can keep a battery alive for a couple hours, or a couple days easily :)

Even if I took the current power drain, and tried to make estimates from there.. it would be pretty useless most of the time (esp since when you go to the home screen to see the widget, the CPU would slow down, as there's not much going on) so the estimate would be unrealistic, compared to actual usage of the device..

Not saying it's completely impossible here.. But I personally don't think it would work :)
[Eee Pad Transformer Themes and Apps] buddyd16:
Ah I did not think of it like that. When you lay out the usage like that it makes sense that the calculation for the estimate on battery time remaining would basically be useless since the power draw would be constantly changing.

Couple that with the fact that the calculation for the estimate would need to be done or would be done each time the power draw changed and in turn the widget would refresh to display the information it may end up having a negative impact on battery life in the long run.
[Eee Pad Transformer Themes and Apps] funnycreature:
I like the idea of the widget but as other mentioned the custom kernels and/or ROMs seem to nullify the dock battery information. I'm running the PRIME! v1.4 ROM and Clemsyn-Blades kernel and no dual widget shows the dock :(
[Eee Pad Transformer Themes and Apps] oztraze:
This morning I tried again...no install or reboot and it works perfectly... looks good and works great... not sure what happened with my Tf... will post if there are any issues on update...
[Eee Pad Transformer Themes and Apps] Flexer:
I think I've identified the issue that some users had, when the widget wasn't added to their home screens. This issue should be fixed now, in v0.5.2, in the market.

It's a small update that just fixes this issue, and has a small update: when the widget is tapped it will open the battery info screen.

Other features are on the way, but they've been delayed because of the bugfixes. They will be coming this weekend for sure :)
[Eee Pad Transformer Themes and Apps] mallman:
confirming the same symptoms on the latest magnus rom
[Eee Pad Transformer Themes and Apps] Flexer:
Quick question.. Does it not show the second battery at all, or does it show it, always stating that it's not docked? (with the default widget settings)
[Eee Pad Transformer Themes and Apps] funnycreature:
Well, I have the second battery disabled when not docked. But even when it's docked it doesn't show up. Does that help? If you have specific questions you want me to address I'm happy to assist!
[Eee Pad Transformer Themes and Apps] Flexer:
That would mean that the standard battery events don't carry the extra info about the dock battery (so basically they send the same message as any other device).

I haven't had time to look into where did Asus change these values.. I did download the sources they have for the transformer, but from a very quick look I didn't find anything that would help, yet..

To be honest, I'm not sure we can do that without a kernel change.. I'll try to get a second look this weekend, but I wouldn't get my hopes up just yet :(
[Eee Pad Transformer Themes and Apps] Buembel:
it shows second battery and says n/a or not connected...
[Eee Pad Transformer Themes and Apps] Flexer:
That one's interesting.. What ROM/Kernel are you running?
[Eee Pad Transformer Themes and Apps] jerdog:
I have Magnus' ROM and I have it displaying both batteries - and when in the dock it still says "not docked". I have the latest build from the Market.
[Eee Pad Transformer Themes and Apps] rpavich:
I get "not docked" and an empty dock icon

Running latest Magnusupreme3 v3.1.6 and latest battery widget.
[Eee Pad Transformer Themes and Apps] creeater:
Thanks. That worked. What was the issue?
[Eee Pad Transformer Themes and Apps] psycho2097:
doesnt work, no dock batery...magnuspreme, clemsyn v8.
[Eee Pad Transformer Themes and Apps] Qumad:
Thanks for an aswome application.

I see that in the new version of the app if You try to add more widgets it will come up next tot the old one if that one is not moved. In the last versjon on my TF if I did not move the battery widget away from the top left corner a new widget would not be added.

Could we please get the abilety to edit the widget we already got on our homescreen?

For eksample by doubletapping on the widget when we get to the battery info we would allso have access to the settings so that we would not have to add new once just to change the aparance.

Allso could the Asus battery info allso be included in the battery infor screen?

Thinking about the graph for battery usage.

Ones again cheers!

[Eddit-add]

Ohh forgot to mencion something that I noticed the other day.

When starting up the device when it is docked in it does not allways show the battery dock, undocking and docking again solved it. (Unsure if this was the old version tho)

I can do som poking around later to see if I get the same issue now.
[Eee Pad Transformer Themes and Apps] mallman:
exactly what i have
[Eee Pad Transformer Themes and Apps] rilot:
This works fine with the WW 3.1 stock rom and kernel.

I've switched CB 10 OC Kernel and now the dock part no longer works. Kernel issue me thinks.
[Eee Pad Transformer Themes and Apps] Buembel:
Running Prime 1.4 with Clemsyn Kernel v.7

I received an update for the keyboard dock, I guess it did not work any more after that.
[Eee Pad Transformer Themes and Apps] Flexer:
Sorry guys, missed a whole page of comments :)

When I added the settings window for the first time, you had to press the "back" button to add the widget.. If you pressed "home", the window would just vanish, without adding the widget.

I've changed the behaviour so that it first adds the widget, and then shows the configuration window :)

That's strange.. I always add a whole bunch of copies to the screen while testing.. You can see that in the screens :P

Will see if I find anything..

Already working on this, actually.. In the current dev build, when you tap on the widget you will get a tabbed window with the settings, and the battery info.. It'll show both the standard battery, and extended one..

Also will have some more info there, and a link to send feedback (will add some info about your device, so it'll be easier to identify problems, hopefully)

Yup, I heard about it the other day too.. Will check out what's the problem today/tomorrow
[Eee Pad Transformer Themes and Apps] Flexer:
I think it's all in the kernel.. I've had reports of users with Prime 1.4, and the widget working fine :)
[Eee Pad Transformer Themes and Apps] Flexer:
So, after a couple days I have a pretty fat update today!

There's a couple more fixes, and a bunch of new features.

New features (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....

Bugs fixed:

not recognizing dock on first boot

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

P.S. Market seems to take a while to show the new version.. pls don't hold it against me :P

If you're in a rush to install it, you can always go to GitHub, and press download.. there will be a link to the same compiled apk distributed by the market :P
[Eee Pad Transformer Themes and Apps] ThaiM:
Still no incremental battery graphics? :(
[Eee Pad Transformer Themes and Apps] Flexer:
Sorry, my designer friend kind of vanished ATM.. :(

I'll see what I can do myself today, I guess :)
[Eee Pad Transformer Themes and Apps] Flexer:
Allright, I had to do what I could by myself with some image editing :)

And it ended up pretty good, actually! There are now images for each battery level with a 10% step. Besides that, I've split them into a couple layers, so I managed to do that without making the app heavier in size (yay! ^_^)

It's on the market, and on GitHub as a download again. Enjoy!
[Eee Pad Transformer Themes and Apps] ThaiM:
I'm sportin' a woody for this. Thanks!
[Eee Pad Transformer Themes and Apps] chocoboyo:
My AT with stock rom and kernel (but rooted) sometimes do not update correctly.

For example the widget shows 65% of battery, i check the notification area and 63% is the real value. Then i click the widget press back and it updates, but it doesnt do it automatically

Are you listening the battery level changes?

It have a nice look congratulations
[Eee Pad Transformer Themes and Apps] mikewong27:
The latest version still now showing dock battery status. Can you please fix this issue with future release? Thank you,

Mike
[Eee Pad Transformer Themes and Apps] Flexer:
I have noticed this as well with the latest builds. I have tried to make it more battery efficient, but it seems as a result, it's not properly registering the broadcast receivers after an update :)

Should be able to fix that by the end of today
[Eee Pad Transformer Themes and Apps] Flexer:
Sorry Mike,

That's an issue with the custom kernels at the moment. They aren't broadcasting the dock battery levels, while the standard Asus kernel does.

As a result, getting the dock battery info would only be possible with the kernels that have this implemented
[Eee Pad Transformer Themes and Apps] Flexer:
Just uploaded the latest build.. this should have the current main bug fixed for good :)

Update 2011-06-20: v0.7

[!] Battery saving mode was too aggressive... Android killing widget.. Battery status monitor service added to have an up-to-date battery status!

[+] 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
[Eee Pad Transformer Themes and Apps] checkbox111:
The icons are a bit big dude, even at 1x1 they're up in your face IMO :)
[Eee Pad Transformer Themes and Apps] Bama29:
I have to disagree. However it could be my "Older" eyes. I find the sizable icons very pleasing to the eye and it is quite easy at a glance to glean the information needed.
[Eee Pad Transformer Themes and Apps] Carl LaFong:
Nice app/widget! I like its simplicity, tells me just what I want to know. No issues so far, but when I view the "About" panel in the widget properties I get a message stating I have a custom kernel, which I don't. No big deal but I thought I'd pass it along.
[Eee Pad Transformer Themes and Apps] Flexer:
Hmm.. I'm curious.. what kernel are you using then?

Also, if it's not a problem, could you send me a msg from the feedback form in the app, so that I can see a couple stats..

I've just added this message to the app, and would like to improve the "detection" algorithm for it :)
[Eee Pad Transformer Themes and Apps] checkbox111:
Can't we have both :confused: those large ones are just fugly!

Instead of this we could have this
[Eee Pad Transformer Themes and Apps] Flexer:
Are the icons really that ugly? :)

I wonder what does everyone else think)
[Eee Pad Transformer Themes and Apps] jms_uk:
Looks just fine to me :)
[Eee Pad Transformer Themes and Apps] Carl LaFong:
Icons are just fine IMO.
[Eee Pad Transformer Themes and Apps] Carl LaFong:
Ok, info sent as requested.
[Eee Pad Transformer Themes and Apps] Bama29:
I think they are the best looking icons of any battery widget that I have seen. Very nice:)
[Eee Pad Transformer Themes and Apps] ThaiM:
+1............
[Eee Pad Transformer Themes and Apps] ThaiM:
Noticed on Market that it's now 0.7.1. What's changed?

Thanks.
[Eee Pad Transformer Themes and Apps] mrg2003:
tf101 Gb android 3.1

o.5 works o.7.1 doesn't

any ideas?
[Eee Pad Transformer Themes and Apps] 0mie:
OP, did you think of adding skinning support? I've got tons of skins I could share that I uploaded to Beautiful Widgets ;) hehe
[Eee Pad Transformer Themes and Apps] Flexer:
I found a small (hard to reproduce) issue with the monitor service.. It would sometimes mess up, and die, but it would happen pretty rarely, so I didn't add it to the but list.. Plus it was fixed within a couple hours :)

Yes, actually.. It will come soon, hopefully.. I'm just rather stoked with work at my full time job, so don't have that much free time, sometimes

This and a couple other new features are all planned, and won't be forgotten :)

Hello Mr G,

Could you explain what doesn't work specifically? Does the widget not appear in the widget list? If this is the case, try restart your tablet once (that's a bug in the Android 3 Launcher... it doesn't refresh the widget list, for some reason)
[Eee Pad Transformer Themes and Apps] checkbox111:
There's nothing wrong with the design, it's the size.

They don't fit in with anything else on the screen because all the other icons from every other app are a different size (smaller) :(
[Eee Pad Transformer Themes and Apps] Digiguest:
Hmm....market says that it installed but will not show up in widgets.
[Eee Pad Transformer Themes and Apps] Flexer:
There you go ;)
[Eee Pad Transformer Themes and Apps] devilpera64:
Ehm i've installed it on the stock kernel but after i've introduced the Clemsyn-Blades Overclocking kernel and the widget won't say me the dock's battery..however the count of tablet battery is ok. what's the prob?
[Eee Pad Transformer Themes and Apps] Flexer:
If you use a custom rom, there is a high chance that this widget will not be able to identify the dock status, or even register that your device supports it at all.. This is a restriction of most custom kernels at this moment, not of this application. This is because Asus extended their Android kernel build to send extra information about the dock and the dock battery along with battery status notifications. Unless this change has been merged in the custom kernel, it will not be sending these notifications

On this note.. Could you tap the widget and go to the settings tab... Could you confirm whether you will get a popup dialog stating the same message or not?
[Eee Pad Transformer Themes and Apps] devilpera64:
No popup. So, it's normal...mmm and there are some restriction also for main battery.? the dock will show the low status of battery with red flash blinking also with modded kernel.?:)
[Eee Pad Transformer Themes and Apps] Flexer:
Actually, not quite.. Custom kernels don't broadcast the dock battery info most of the time.. The popup is just a way to notify users, but it doesn't work 100% of the time :)

I'm not sure if the dock's led flashing red is part of the kernel though.. It's most likely part of the dock's firmware itself, in which case that should work fine :)
[Eee Pad Transformer Themes and Apps] baseballfanz:
Asus just released the kernel source so hopefully soon it will be resolved
[Eee Pad Transformer Themes and Apps] baseballfanz:
Latest Clymsen-blades kernel fixed the dual battery widget for dock
[Eee Pad Transformer Themes and Apps] Flexer:
Oooh, that is SWEET! Great news! Thanks for the update :)
[Eee Pad Transformer Themes and Apps] Kannan.Balasubramanian:
After a long time I found a perfect vertical battery widget.

Installed in Galaxy S II.

Widget is working fine, but when I change the Text Position to invisible, I get "Problem Loading".

Other than that great work !
[Eee Pad Transformer Themes and Apps] Flexer:
Oh wow, you're right... I just tested it, and it did die with invisible text :(

Will fix it this weekend, and release a patch!

Thanks :)
[Eee Pad Transformer Themes and Apps] skeeterpro:
The Netformer 1.5 OC kernel installed will also show both widgets.
[Eee Pad Transformer Themes and Apps] mattykellyuk:
Don't no whether this has been requested but I'd like to able able to see the battery level in the dock when they are disconnected. So the widget basically remembers the battery level from the last time it was connected?
[Eee Pad Transformer Themes and Apps] Flexer:
Would it be OK if I showed this information in the battery info screen, while the widget itself only showed the current info?
[Eee Pad Transformer Themes and Apps] mattykellyuk:
I would preferred it to always b viewable from the widget
[Eee Pad Transformer Themes and Apps] Bakmeel:
Thanks

Just wanted to say thank you for developing this app. It was just what I was looking for....

Is there a way to label the batteries in the widget so I can see which one is which?
[Eee Pad Transformer Themes and Apps] Flexer:
Hmm.. at the moment there's nothing like this, but I'm working on a couple new features, and I think this would fit right in the next release :)
[Eee Pad Transformer Themes and Apps] WoodburyMan:
Love the widget. It's now functioning fully again now that the custom kernels include Asus' source code. Thanks again!
[Eee Pad Transformer Themes and Apps] Flexer:
Well, everyone.. A new release is just out!

I've listened to your suggestions, and got a bunch of new features :)

Here's what we got:

[!] 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)

By the way... The last known dock battery level is only stored while the widgets are running.. A restart, or app update will reset the status.. I might try to store it on the device, but it's a bit unreliable..

Enjoy, and keep the feedback coming! :)
[Eee Pad Transformer Themes and Apps] commandersafi:
Installed the widget yesterday and it is great! Good work.

One thing I was thinking was if it'd be possible for you to implement the dual battery into the notification area instead of a separate widget. Would be pretty neat and cleaner looking imo :D
[Eee Pad Transformer Themes and Apps] Flexer:
Actually, this is the next thing on my list.. I wanted this as well myself :D
[Eee Pad Transformer Themes and Apps] commandersafi:
Good to hear. Looking forward to that release :D
[Eee Pad Transformer Themes and Apps] mattykellyuk:
Omg the black and white battery for disconnected dock. Love it thanks so much for listening
[Eee Pad Transformer Themes and Apps] GoodLinux:
Very Good Work, thanks.
[Eee Pad Transformer Themes and Apps] Flexer:
Got a quick bugfix release (v0.7.5.1), that should get rid of some app crashes.. Just in case, I'd recommend if you opened the settings for the widget and closed them, just to make sure the widget will update :)
[Eee Pad Transformer Themes and Apps] Flexer:
By the way, if anyone's interested in translating the app in different languages - that'd be great :)

The current strings file is available on GitHub:

https://github.com/artiomchi/Dual-Battery-Widget/blob/master/res/values/strings.xml

Afaik Spanish should already be on the way :P
[Eee Pad Transformer Themes and Apps] Karval:
Hello,

As few other people, this widget doesn't work on my tablet.

I have the original Asus kernel and the last version installed from market.

I tried to restart (tablet and Launcher), but nothing. The widget doesn't appear in the list of applications.

But it does in the parameters of the tablet. The only action I can do is unistall.

The problem is not the language. I'm french, but for many others it works fine.