I have an app I made that will display what percent my battery is at (the 32 in the notification bar). I am wondering is it possible to add that information to the lockscreen (maybe under the time, but anywhere would work)? I know I can change the "I can see you" text via Settings -> General -> Screen lock -> Owner info (I am running Android 4.1.1), but I wouldn't be able to update that with the battery percent. From what I can gather I would need to write my own lock screen and add it there. Is that true or is there another way?
Asked
Active
Viewed 1,309 times
1 Answers
1
You are welcome to write an app widget that can be placed on the lockscreen, for Android 4.2+.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
Hmm okay, but there isn't a way for it for Android 4.1? – Howli Aug 03 '13 at 22:29
-
@20040922: No, sorry. – CommonsWare Aug 04 '13 at 11:05
-
1Only Android versions lower than 5.0 support lock-screen widgets. For Android 5.0 and higher, only home_screen is valid. http://developer.android.com/intl/es/guide/topics/appwidgets/index.html – Carlo Espino Feb 13 '16 at 22:28