Skip to content

Android Battery Widget built with Jetpack Glance & Jetpack Compose. Real-time battery percentage updates using ACTION_BATTERY_CHANGED and DataStore Preferences.

License

Notifications You must be signed in to change notification settings

pmjsankar/Battery-Widget-Jetpack-Glance

Repository files navigation

🔋 Android Battery Widget (Jetpack Glance + Compose)

Android Jetpack Compose Kotlin Jetpack Glance License

This is a real-time Android Battery Widget built using Jetpack Glance and **Jetpack Compose **. It displays your device's battery percentage instantly on the home screen using ACTION_BATTERY_CHANGED.

Features

  • Android home screen widget with Jetpack Glance
  • Real-time updates via BroadcastReceiver
  • Persistent state with DataStore Preferences
  • Minimalist UI with emoji battery icon

Tech Stack

  • Android
  • Jetpack Compose
  • Jetpack Glance
  • DataStore Preferences
  • Kotlin Coroutines

Screenshot

About

Android Battery Widget built with Jetpack Glance & Jetpack Compose. Real-time battery percentage updates using ACTION_BATTERY_CHANGED and DataStore Preferences.

Topics

Resources

License

Stars

Watchers

Forks

Languages