Skip to content
omarmadanyPublic

About

Wake your Android screen by pressing Volume Up twice.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

SoftPower logo

SoftPower

Wake your Android screen with a double press of the volume-up button, no power button needed.

Android Kotlin Latest release


About

SoftPower is a lightweight Android app that lets you turn the screen on by pressing Volume Up twice. It is built for people whose power button is worn out, broken, or hard to reach, and for anyone who wants to protect it from daily wear.

It runs as an Accessibility Service, so it works in the background without a heavy footprint, and it uses no internet connection and collects no data.

Features

  • Wake the screen with a double press of Volume Up
  • Floating power button you can use from any screen
  • Animated power toggle to start and stop the service
  • Splash screen on launch
  • Light and dark theme support
  • Works offline, with no ads and no data collection

Demo

SoftPower demo

How it works

  1. Enable SoftPower in Settings > Accessibility.
  2. The service listens for hardware key events.
  3. When it detects two Volume Up presses within a short time window, it wakes the screen using PowerManager.

Tech Stack

Tool Purpose
Kotlin Main language
Android Studio IDE
AccessibilityService API Listening to key events in the background
PowerManager Waking the screen
Gradle Build system
Git and GitHub Version control

Project Structure

softpower/
├── app/
│   └── src/main/
│       ├── java/com/softpower/
│       │   ├── MainActivity.kt                    # Main screen and app entry point
│       │   ├── service/
│       │   │   ├── PowerAccessibilityService.kt   # Detects double Volume Up press and wakes the screen
│       │   │   ├── SoftPowerService.kt            # Background service
│       │   │   └── FloatingButton.kt              # Floating power button
│       │   └── util/
│       │       └── PermissionHelper.kt            # Permission checks and requests
│       ├── res/
│       │   ├── drawable/                          # Icons and shapes
│       │   ├── layout/                            # Screen layouts
│       │   ├── mipmap-anydpi/                     # App launcher icon
│       │   ├── values/                            # Strings, colors, themes
│       │   ├── values-night/                      # Dark theme
│       │   └── xml/                               # Accessibility service config
│       └── AndroidManifest.xml                    # Services declaration and permissions
├── docs/                                          # Logo and demo GIF
├── gradle/                                        # Gradle wrapper
├── build.gradle.kts
├── settings.gradle.kts
└── README.md

Download and Try

  1. Go to the Releases page.
  2. Download the latest .apk file.
  3. Open it on your phone and allow installation from unknown sources if asked.
  4. Open the app and enable the service from Settings > Accessibility > SoftPower.
  5. Turn off the screen, then press Volume Up twice.

Build from Source

git clone https://github.com/omarmadany/softpower.git
cd softpower

Open the project in Android Studio, let Gradle sync, then press Run.

Contact

About

Wake your Android screen by pressing Volume Up twice.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages