webOS Nation Forums >  Homebrew >  webOS patches > [patch] remove battery level from topbar-drop-down list
[patch] remove battery level from topbar-drop-down list

  Reply
 
LinkBack Thread Tools Display Modes
Old 11/15/2009, 09:22 AM   #1 (permalink)
Member
 
Join Date: Jun 2006
Posts: 50
Likes Received: 0
Thanks: 2
Thanked 3 Times in 1 Post
Default [patch] remove battery level from topbar-drop-down list

First of all, thanks for Jason's patches, but I'm bothered by dragging the drop-down list to turn on/off the airplane mode, so i got this patch to remove battery level from drop-down list.

Edit, please use wqi2.8 to install this patch.
Attached Images
File Type: png Unknown_2009-15-11_225325.png (110.8 KB, 157 views) Email Attachment
Attached Files
File Type: patch no-battery-level.patch (1.0 KB, 78 views) Email Attachment

Last edited by zhzyg; 11/23/2009 at 07:09 PM.
zhzyg is offline   Reply With Quote
Old 11/15/2009, 02:53 PM   #2 (permalink)
Member
 
knickrox13's Avatar
 
Join Date: Apr 2009
Posts: 218
Likes Received: 0
Thanks: 59
Thanked 31 Times in 20 Posts
Default

Thank you thank you! How about one to get rid of the date as well since its added to the top bar in another patch

Add to preware too


Edit: failed to load through WOSQI...I have multiple patches which are probably causing inconsistencies:

Data connection
gps
Roam Only
Remove Airplane mode(New patch in this section of the forum)

Just giving you a heads up
__________________
NY Giants fan?

Check out my Facebook Group! - Big Blue (NY Giants) which just passed 11,000 members
and newly formed Fan Page

Last edited by knickrox13; 11/15/2009 at 03:06 PM.
knickrox13 is offline   Reply With Quote
Old 11/15/2009, 03:03 PM   #3 (permalink)
Member
 
Join Date: Jul 2009
Posts: 179
Likes Received: 0
Thanks: 37
Thanked 20 Times in 14 Posts
Default

Quote:
Originally Posted by knickrox13 View Post
Thank you thank you! How about one to get rid of the date as well since its added to the top bar in another patch

Add to preware too
i was just going to ask for this patch....nice work guys.
dannydos is offline   Reply With Quote
Old 11/15/2009, 07:09 PM   #4 (permalink)
Member
 
Join Date: Jun 2006
Posts: 50
Likes Received: 0
Thanks: 2
Thanked 3 Times in 1 Post
Default

Quote:
Originally Posted by knickrox13 View Post
Thank you thank you! How about one to get rid of the date as well since its added to the top bar in another patch

Add to preware too


Edit: failed to load through WOSQI...I have multiple patches which are probably causing inconsistencies:

Data connection
gps
Roam Only
Remove Airplane mode(New patch in this section of the forum)

Just giving you a heads up
Hi knickrox13,
It should works fine with all Jason's patches because the code which part has been removed is on top of all those patches, but I am not sure if it works fine with 1.3.1.
zhzyg is offline   Reply With Quote
Old 11/15/2009, 11:51 PM   #5 (permalink)
Member
 
Join Date: Oct 2005
Posts: 744
Likes Received: 0
Thanks: 63
Thanked 137 Times in 76 Posts
Default

Quote:
Originally Posted by knickrox13 View Post
Thank you thank you! How about one to get rid of the date as well since its added to the top bar in another patch


seconded
Stihl is offline   Reply With Quote
Old 11/22/2009, 09:42 AM   #6 (permalink)
Member
 
Join Date: Oct 2005
Posts: 744
Likes Received: 0
Thanks: 63
Thanked 137 Times in 76 Posts
Default

Can't get either of these to work oddly enough. Anyone successful? The date and battery percentage are very annoying in the pulldown menu.
Stihl is offline   Reply With Quote
Old 11/22/2009, 11:20 AM   #7 (permalink)
Forum Moderator
 
ChemEngr's Avatar
 
Join Date: Nov 2002
Location: Silicon Valley
Posts: 2,235
Likes Received: 13
Thanks: 158
Thanked 97 Times in 90 Posts
Default

No worky on wosqi 2.9. Low priority patch for me but would be nice to cleanup the device menu since I have plenty of menu item patches there now.
__________________
Palm III > Palm V > Palm Vx > (Sprint) Kyo 6035 > Handspring Treo 300
> Handspring Treo 600 Oct.'03 > Palm Treo 700P May'06 > Treo 755P Aug.'07 > Pre(-) June'09 + TouchPad July'11 LONG LIVE webOS!!!
ChemEngr is offline   Reply With Quote
Old 11/22/2009, 03:22 PM   #8 (permalink)
Member
 
Kyusaku's Avatar
 
Join Date: Apr 2007
Posts: 1,483
Likes Received: 5
Thanks: 92
Thanked 195 Times in 142 Posts
Default

This works with Advanced Phone Menu patch.
Kyusaku is offline   Reply With Quote
Old 11/22/2009, 03:50 PM   #9 (permalink)
Member
 
Join Date: Oct 2005
Posts: 744
Likes Received: 0
Thanks: 63
Thanked 137 Times in 76 Posts
Default

thanks, I had 2 diff patches working on the top bar so now I'll delete them, install advanced phone patch and give it a shot

edit: yeah, still no go. removed jason's patches to the top bar, removed the brightness patch even and I keep getting an error. too bad.

Last edited by Stihl; 11/22/2009 at 03:59 PM.
Stihl is offline   Reply With Quote
Old 11/22/2009, 04:25 PM   #10 (permalink)
Member
 
Join Date: Dec 2003
Posts: 910
Likes Received: 0
Thanks: 28
Thanked 18 Times in 15 Posts
Default

do not work with preware either.
__________________
Laissez Faire
prubin is offline   Reply With Quote
Old 11/23/2009, 10:15 AM   #11 (permalink)
Member
 
Join Date: Jul 2009
Posts: 12
Likes Received: 0
Thanks: 18
Thanked 0 Times in 0 Posts
Default

running 1.3.1 i couldn't get it to install with the brightness patch already installed. removed the brightness patch and the no battery level installed correctly but then i couldn't re-install the brightness patch. its on or the other, i chose the brightness patch, but id really like to have both
kevinreed2 is offline   Reply With Quote
Old 11/23/2009, 12:05 PM   #12 (permalink)
Member
 
drewjohn's Avatar
 
Join Date: Jun 2009
Location: Nashville
Posts: 352
Likes Received: 1
Thanks: 3
Thanked 71 Times in 31 Posts
Default

No go for me too. i have the brightness slider bar patch installed
drewjohn is offline   Reply With Quote
Old 11/23/2009, 07:06 PM   #13 (permalink)
Member
 
Join Date: Jun 2006
Posts: 50
Likes Received: 0
Thanks: 2
Thanked 3 Times in 1 Post
Default

Hi guys, please use wqi2.8 to install no battery level patch. somehow wqi2.9 reports a previous install error.
zhzyg is offline   Reply With Quote
Old 11/24/2009, 07:51 AM   #14 (permalink)
Member
 
cwgtex's Avatar
 
Join Date: Jul 2009
Posts: 608
Likes Received: 3
Thanks: 141
Thanked 243 Times in 91 Posts
Default

Will this patch be updated to work with preware? Right now I get "Error Installing: See IPKG Log". In the log the Postinst section says this:

patching file usr/lib/luna/system/luna-systemui/app/controllers/devicemenu-assistant.js
Hunk #1 succeeded at 29 with fuzz 2.
patching file usr/lib/luna/system/luna-systemui/app/views/devicemenu/devicemenu-scene.html
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file usr/lib/luna/system/luna-systemui/app/views/devicemenu/devicemenu-scene.html.rej
Removing package org.webosinternals.patches.top-bar-no-battery-level from root...

I have these other patches already:
add date - mm/dd
brightness in device menu
data in device menu
gps in device menu
show actual battery percent
top bar battery percent and icon
(plus a few more that don't apply to the device menu in any way)

Any thoughts?
cwgtex is offline   Reply With Quote
Old 11/29/2009, 03:59 PM   #15 (permalink)
Member
 
Join Date: Sep 2009
Posts: 41
Likes Received: 0
Thanks: 6
Thanked 19 Times in 9 Posts
Default

I'm not able to install the Remove Date or the Remove Battery % from top bar patches. At first I thought it had something to do with the new patch that changes the top bar font size, but the developer of that patch said that these two patches were conflicting with the battery % slider in device menu patch.

I used EPR and reinstalled both patches (before trying the % slider) and it still didn't work.

I'd really like to have all three patches ... any way for you to collaborate with the developer of the % slider patch and get these bad boys to play nice?

~Bowen

EDIT- Been using Preware.
sirbowen1982 is offline   Reply With Quote
Old 12/04/2009, 12:05 AM   #16 (permalink)
Member
 
hmagoo's Avatar
 
Join Date: Jun 2009
Location: Palm Desert, CA
Posts: 249
Likes Received: 1
Thanks: 38
Thanked 47 Times in 22 Posts
Default

here is what I would like to see in the device menu (top bar)
http://forums.precentral.net/webos-p...enu-patch.html
__________________

hmagoo is offline   Reply With Quote
Old 01/01/2010, 09:48 AM   #17 (permalink)
Member
 
Join Date: Oct 2009
Posts: 4
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Request for patch for top bar MM/DD/YY patch removal please.
MrTLT247 is offline   Reply With Quote
Old 03/15/2010, 12:26 PM   #18 (permalink)
Member
 
Join Date: Mar 2010
Posts: 107
Likes Received: 1
Thanks: 33
Thanked 13 Times in 10 Posts
Default Direct update of JS file?

Apologies if I'm posting this question in the wrong place.

I'm new, both here and to WebOS. I ran into a problem installing the No Battery Level patch, probably because of a conflict with one of the other device menu patches I installed. So I'm looking to learn something by rolling my own solution here.

I'm not an expert at understanding the patch file format yet, so I don't know what exactly needs fixing. A cursory look at the js file makes it appear that I can just delete two lines:
Code:
var msg = $L("Battery: #{batlevel}");
this.controller.get('dm_battery').innerHTML = new Template(msg).evaluate({"batlevel": Mojo.Format.formatPercent(this.barAssistant.getBatteryLevel())});
Obviously, I'll want to spend a little more time to analyze the code, but my question is, is it possible / advisable for me to directly edit my devicemenu-assistant.js file? What are the pitfalls to watch out for?

Thanks!
Zahid is offline   Reply With Quote
Old 04/04/2010, 07:23 PM   #19 (permalink)
Member
 
Join Date: Sep 2004
Posts: 154
Likes Received: 0
Thanks: 39
Thanked 21 Times in 13 Posts
Default

Just so everyone knows...This patch is NOT compatible with the "brightness in device menu" patch. Hopefully someone can fix this, cause both patches kick *** by themselves, but together.....they could rule the world.
aairman23 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0