Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Battery charge from 1 to 100 in under one minute (Fun tool)

License

Notifications You must be signed in to change notification settings

Googlers-Repo/fake-shell-charger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This module is dangerous for some rom/devices... They can't handle an to HIGH or TO LOW battery percent and forced to shutdown which actually NOT shutdown the device, it'll keeps you in the shutdown screen. So don't use this module to prevent broken systems/roms.

Fake Shell Charger

This is not a real charger, here can you troll your friends

Usage

fake-charger --speed 0.3 --max 101 --steps 1

Usage

Usage: system/bin/fake-charger.sh [options]

   --speed    changes the charge speed (default: 0.3)
   --max      changes the maximal charge value (default: 100)
   --reset    resets the battery state
   --unplug   unplugs the battery from the REAL charge
   --set      sets custom battery value
   --steps    changes the maximal adding value (default: 1)
   --stdout   prints every battery level into the stdout
   --help     prints this message

Custom Vaule

fake-charger --set 2000

Unplug Battery

Warning! This can be buggy, avoid using this.

fake-charger --unplug

Reset Battery state

fake-charger --reset