Post Reply

[Q] Removing Battery Status From Lock Screen

8th December 2011, 08:40 AM   |  #1  
Ticklefish's Avatar
OP Recognized Themer
Flag UK
Thanks Meter: 3,497
 
3,947 posts
Join Date:Joined: Oct 2011
More
Hi all,

does anyone know how I can remove the battery info that shows on the stock lock screen (percentage and id_lock.. images)? Now I've changed the battery info in the status bar, it's really not needed.

I've tried removing the relevant lines from keyguard_screen_lock.xml in the layout folder of my framework-res, but it hasn't changed anything and I'm too noobish to know what else to fiddle with.

I could try Widgetlocker or something similar, but that kinda defeats the point. Plus, I'm just too stubborn..

Many thanks!
8th December 2011, 07:25 PM   |  #2  
martiii's Avatar
Senior Member
Flag Zombietown
Thanks Meter: 149
 
360 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by Ticklefish

Hi all,

does anyone know how I can remove the battery info that shows on the stock lock screen (percentage and id_lock.. images)? Now I've changed the battery info in the status bar, it's really not needed.

I've tried removing the relevant lines from keyguard_screen_lock.xml in the layout folder of my framework-res, but it hasn't changed anything and I'm too noobish to know what else to fiddle with.

I could try Widgetlocker or something similar, but that kinda defeats the point. Plus, I'm just too stubborn..

Many thanks!

Are u using a Custom ROM like mini CM7!? when yes goto Settings / CyanogenMod settings / Lockscreen / Widget options

when NO i dont know

edit: ah im blind u use stock !!!
Last edited by martiii; 8th December 2011 at 07:27 PM. Reason: fail
The Following User Says Thank You to martiii For This Useful Post: [ View ]
9th December 2011, 09:15 AM   |  #3  
scook94's Avatar
Senior Member
Flag Stirling, UK
Thanks Meter: 61
 
318 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by martiii

Are u using a Custom ROM like mini CM7!? when yes goto Settings / CyanogenMod settings / Lockscreen / Widget options

when NO i dont know

edit: ah im blind u use stock !!!

Was trying to figure out how to turn it ON after installing a new ROM! Thanks!
9th December 2011, 11:00 AM   |  #4  
Ticklefish's Avatar
OP Recognized Themer
Flag UK
Thanks Meter: 3,497
 
3,947 posts
Join Date:Joined: Oct 2011
More
Yeah, I like to make things difficult for myself. lol

I think I've figured it out, but I'll have to wait until I get home to try it out. It looks like I need to edit keyguard_screen_tab_unlock.xml in the layout folder of my framework-res.apk and remove the line:
"<TextView android:textSize="18.0dip" android:textColor="#ccffffff" android:id="@id/status1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:drawablePadding="8.0dip" />".
Apparently, status1 is the battery icon and percentage while status2 is the alarm icon and info.
I'll try it out and report back.
9th December 2011, 11:04 AM   |  #5  
Ticklefish's Avatar
OP Recognized Themer
Flag UK
Thanks Meter: 3,497
 
3,947 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by scook94

Was trying to figure out how to turn it ON after installing a new ROM! Thanks!

Glad to see my issue creates someone else's solution..lol

Y'know, if you're in the mood, you could add even more battery info to your lockscreen. If you fancy doing some fiddling, check out this: http://www.webyme.net/?p=254
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes