webOS Nation Forums >  Homebrew >  webOS Patches > Updated "Battery widget" by Garret
Updated "Battery widget" by Garret
  Reply
Like Tree12Likes
  • 7 Post By mgmft
  • 3 Post By mgmft
  • 2 Post By Firepower

 
Thread Tools Display Modes
Old 04/08/2013, 04:04 AM   #1 (permalink)
Member
 
Posts: 199
Hi,

I updated Garret (@choorp's) battery widget by adding "battery drain in %/h" to it. If you want to try it:

http://t.co/oKukXc4t4v

You can find the source on Github: https://github.com/linuxq/battery-widget I submitted a pull request to Garret.



Have fun!

Marcel
mgmft is offline   Reply With Quote
Liked by Rnp, somline, sshaka and 4 others like this.
Thanked by cbosdell, Firepower, sshaka
Old 04/08/2013, 07:52 AM   #2 (permalink)
Member
 
Posts: 199
As @gwidionR mentioned on twitter: "Colour changing battery bar according to the battery level would be good."

So, here it is: http://dl.dropbox.com/u/6259226/MyAp..._0.9.6_all.ipk

100-35% Green
35-20% Yellow
20-15% Orange
15-0% Red

mgmft is offline   Reply With Quote
Liked by Firepower, WknThDg and Choorp like this.
Old 04/08/2013, 08:46 AM   #3 (permalink)
Member
 
Posts: 16
Thank you. I need it now thank you
xjstattoo is offline   Reply With Quote
Old 04/08/2013, 12:10 PM   #4 (permalink)
Member
 
Posts: 55
Thx!
But i'm more interested in your tt-rss-app ;-)
figgel is offline   Reply With Quote
Old 04/08/2013, 05:04 PM   #5 (permalink)
Member
 
Posts: 228
Quote:
Originally Posted by mgmft View Post
As @gwidionR mentioned on twitter: "Colour changing battery bar according to the battery level would be good."

So, here it is: http://dl.dropbox.com/u/6259226/MyAp..._0.9.6_all.ipk

100-35% Green
35-20% Yellow
20-15% Orange
15-0% Red

Can you do same colours and % as Battey Percent as Icon Patch colours.

Charging = Teal.
100%-70% = Green
69%-45% = Yellow
44%-20% = Orange
19%-0% = Red.

you can edited the values in Widget.js for battery % and bar color.

Last edited by Firepower; 04/21/2013 at 08:35 PM.
Firepower is offline   Reply With Quote
Liked by Mutoidi and WknThDg like this.
Old 04/08/2013, 11:23 PM   #6 (permalink)
Member
 
Posts: 16
Quote:
Originally Posted by figgel View Post
Thx!
But i'm more interested in your tt-rss-app ;-)
Yeah Me Tooooooo
xjstattoo is offline   Reply With Quote
Old 04/09/2013, 03:04 AM   #7 (permalink)
Member
 
Mutoidi's Avatar
 
Posts: 1,622
Quote:
Originally Posted by Firepower View Post
Can you do same colours and % as Battey Percent as Icon Patch colours.

Charging = Teal.
100%-70% = Green
69%-45% = Yellow
44%-20% = Orange
19%-0% = Red.

Would be excellent for seeing at a glance, yes!!

__________________

TP 32Gb 4G. 3.0.5 / CM10. ~ Pre3 16Gb GSM. 2.2.4. ~ TS2 BT A-D. ~ HP iPaq. hx-2110. WM 6.01.
TP 32Gb Wifi. 3.0.5 / CM10. ~ Veer (Wht.) 8Gb GSM. 2.2.4. ~ HP Mini-5101.120Gb SSD. 3G/Wifi/BT. Win7.
Mutoidi is offline   Reply With Quote
Old 04/09/2013, 03:12 AM   #8 (permalink)
Member
 
Mutoidi's Avatar
 
Posts: 1,622
(PS. Here's some 'wifi' icons I played with for 'inspiration' anyway?).

Attached Images
File Type: png wifi-0.png (1.0 KB, 103 views) Email Attachment
File Type: png wifi-1.png (1.0 KB, 102 views) Email Attachment
File Type: png wifi-2.png (1.1 KB, 102 views) Email Attachment
File Type: png wifi-3.png (876 Bytes, 102 views) Email Attachment
File Type: png wifi-connecting.png (921 Bytes, 101 views) Email Attachment
__________________

TP 32Gb 4G. 3.0.5 / CM10. ~ Pre3 16Gb GSM. 2.2.4. ~ TS2 BT A-D. ~ HP iPaq. hx-2110. WM 6.01.
TP 32Gb Wifi. 3.0.5 / CM10. ~ Veer (Wht.) 8Gb GSM. 2.2.4. ~ HP Mini-5101.120Gb SSD. 3G/Wifi/BT. Win7.

Last edited by Mutoidi; 04/09/2013 at 06:56 AM.
Mutoidi is offline   Reply With Quote
Old 04/21/2013, 08:30 PM   #9 (permalink)
Member
 
Posts: 228
I dont like the %/h in the latest battery widget, makes the display too busy.
Can you please do an update without the %/h with battery color bar change similar to 0.95 version.

has anyone got battery update 0.95 link?
none of the original links work.
Firepower is offline   Reply With Quote
Old 04/21/2013, 08:47 PM   #10 (permalink)
Member
 
Greg Mair's Avatar
 
Posts: 750
Maybe instead of how much per hour it will lose. Maybe average out the ETA till its dead by hours.

Like 8.6h left of battery,

Just an idea.


Greg
Greg Mair is online now   Reply With Quote
Old 04/21/2013, 10:05 PM   #11 (permalink)
Member
 
Posts: 228
Quote:
Originally Posted by Greg Mair View Post
Maybe instead of how much per hour it will lose. Maybe average out the ETA till its dead by hours.

Like 8.6h left of battery,

Just an idea.


Greg
I found it to change it value to much depending on phone use or sleep, was not very useful, estimating by battery % seems best.

I have edited my widget.js to remove %/h updates shown in github but i am sure others would like option of choosing to have it or not.

also remove the choice of color of for battery bar in configuration for the battery bar change with percent version as its no longer needed.

Last edited by Firepower; 04/22/2013 at 06:53 PM.
Firepower is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone suggest anything for "next appt." widget? Syndil Palm Pixi and Pixi Plus 0 08/23/2012 10:07 AM
Email battery life: "as items arrive" or "every 15 min"? twin668 webOS Tips, Info & Resources 27 04/26/2010 10:55 AM
"Reset" WebView widget?... clacombe webOS Development 0 03/18/2010 07:53 PM
"Refresh"-Button (e.g. in Browser) - which widget is it? TBH webOS Development 3 01/19/2010 03:30 AM
does the "V" key cause the "G" & "H" keys to move down when you press "V"??? mushedroom Palm OS Devices & Apps 17 06/09/2006 06:06 AM


 


Content Relevant URLs by vBSEO 3.6.0