# Displaying battery level in launcher

**URL:** <https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653>\
**Category:** GameShell\
**Tags:** launcher, howto\
**Created:** [February 6, 2019, 2:33pm UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653 "2019-02-06T14:33:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrWildBunnycat](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mrwildbunnycat/32/1620_2.png) [@MrWildBunnycat](https://forum.clockworkpi.com/u/MrWildBunnycat)\
**Post date:** [February 6, 2019, 2:33pm UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/1 "2019-02-06T14:33:01Z")

</div>

I modified the launcher to display battery level in percentages next to the time. Here’s a step by step instruction:

- Navigate to ~/launcher/sys.py/UI
- Open title\_bar.py
- Replace the contents with the contents from here: [https://pastebin.com/1BuMuk0e](https://pastebin.com/1BuMuk0e)

The only downside is that the battery level updates only when the screen updates, i.e. if move the selection, or plug in the charger. If you leave the device untouched, the level won’t update while idle (it’s just the way the Launcher is written).

---

<div class="post-metadata">

**Author:** ![Hawanna](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/hawanna/32/1626_2.png) [@Hawanna](https://forum.clockworkpi.com/u/Hawanna)\
**Post date:** [February 6, 2019, 2:46pm UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/2 "2019-02-06T14:46:11Z")

</div>

Nice one! Maybe cronin’ a refresh every 5 Minutes?

(Until we fiddled the launcher to update on its own)

---

<div class="post-metadata">

**Author:** ![eoiue](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@eoiue](https://forum.clockworkpi.com/u/eoiue)\
**Post date:** [February 8, 2019, 12:34am UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/3 "2019-02-08T00:34:12Z")

</div>

Yes! this is what I needed. Thank you!

---

<div class="post-metadata">

**Author:** ![ComeauHH](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@ComeauHH](https://forum.clockworkpi.com/u/ComeauHH)\
**Post date:** [February 9, 2019, 12:23pm UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/4 "2019-02-09T12:23:26Z")

</div>

Exactly what I was looking for. Thank you mate and have a nice weekend! 🤗

---

<div class="post-metadata">

**Author:** ![Gabo](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/gabo/32/3505_2.png) [@Gabo](https://forum.clockworkpi.com/u/Gabo)\
**Post date:** [November 21, 2019, 10:17pm UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/5 "2019-11-21T22:17:07Z")

</div>

man, you are awesome!!!

---

<div class="post-metadata">

**Author:** ![Romie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/romie/32/4270_2.png) [@Romie](https://forum.clockworkpi.com/u/Romie)\
**Post date:** [June 29, 2020, 4:54pm UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/6 "2020-06-29T16:54:30Z")

</div>

I’m on the newest version.

I followed your instructions and on restart it was stuck on loading.

Thankfully, I was still able to ssh into it through filezilla (I also had it connected through usb, may have helped) and swapped it for the original.

If you’re on a newer firmware, beware and save the original files before you edit or overwrite them.

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [June 30, 2020, 11:16am UTC](https://forum.clockworkpi.com/t/displaying-battery-level-in-launcher/2653/7 "2020-06-30T11:16:47Z")

</div>

You could try [BatMon](https://forum.clockworkpi.com/t/batmon-battery-status-on-emulators/3461) It stays on top of emulators too 😃
