[Android General] Dineshpatel43642:
hello friend

Sorry for my bad engish

This is the best mod for your android mobile

Control your charger using this trick

Your charger has stop charging automatically in your setting type

For example - you set your device charge 90% this modul is stoped your charger after your device is charged 90%

You also controll charger using time paired like

30 minets

1h 30m etc.

How to install it -

1. Root your device with letest magisk root

2. Go to downlod option in magisk manager

3. Download "Magic charging switch" & install it then active it

4. Reboot your device

5. download terminal emulator

6. Type "su" & then type "mcs "

Its chek your device is supported /nonsupported

Now injoy ????

Commonds for using this modul--

- Run `su` first, ALWAYS -- or make sure `su -c` goes before `mcs` (i.e., `su -c mcs -e 30m`).

- Run `su` first, ALWAYS -- or make sure `su -c` goes before `mcs` (i.e., `su -c mcs -e 30m`).

mcs [-b] [-h] [-i] [-r] [-v] [debug] [-k LEVEL] [PAUSE% RESUME%] [PAUSE%] [-m PAUSE% RESUME%] [-s --enable/disable] [-t PAUSE% RESUME%] [-d %/TIMEOUT] [-e %/TIMEOUT] [-x /path/to/switch ON_key OFF_key]

`-b` --> reset battery stats on demand (does not work on all devices)

`-h` --> mcs usage instructions

`-i` --> display battery info

`-r` --> reset cs to its initial state

`-s` --> pause/resume, --enable/disable service

`-v` --> toggle extensive (loops) verbose

`-x` --> pick a different charging switch from the database

`debug` --> gather debugging data & save it to /sdcard/mcs_debug-DEVICE.log

just `mcs` --> run MCS with default/saved settings

`-k` LEVEL --> keep/maintain battery power at a constant LEVEL (pauses MCS service)

`PAUSE% RESUME%` --> pause charging at PAUSE% value (default 90); resume if battery drops below RESUME% (default 80). This is the `initial setup command`. If auto-run is OFF, the command works as is; else, new settings are saved and automatically picked up by MCS service.

`-m/-t PAUSE% RESUME%` --> generate automation config (-m for MacroDroid; -t for Tasker -- pick one)

`-d [%/TIMEOUT (optional)]` --> disable charging on demand (pauses MCS service)

`-e [%/TIMEOUT (optional)]` --> enable charging on demand (pauses MCS service)

`-x` /path/to/switch ON_key OFF_key -- > manually set a charging switch; if keys match one of the following as is or in reverse oder -- you don't have to specify them: 1/0, enable/disable, enabled/disabled, true/false, on/off, 100/3

### Usage Examples/Tips

`mcs 85` --> pause charging at 85%; resume when battery level is less or equal to 80% (default).

`mcs 80 20` --> pause charging at 80%; resume when battery level is less or equal to 20%.

`mcs -d` --> disable charging.

`mcs -e` --> enable charging.

`mcs -d 30m` --> keep charging disabled for 30 minutes

`mcs -e 1h` --> keep charging enabled for 1 hour).

`mcs -e 80%` --> Charge until battery level equals 80%.

`mcs -d 40%` --> Charge until battery level equals 40%.

`mcs -e 120 && mcs -d 30m && mcs -e 1h` --> charge for 120 seconds, pause for 30 minutes, then charge again for 1h.

`mcs -e 30m && mcs -d 30m && mcs -e 90%` --> charge for 30 minutes, pause for 30 minutes, then charge again, but this time until battery level is greater or equal to 90%.

`mcs -e 50% && mcs -d 5h && mcs -e 80% && mcs -d 30m && mcs -e 90%` --> charge until 50%, pause for 5 hours, charge until 80%, pause for 30 minutes, charge until 90%.

Ideally, you want your battery level between 40-60% - best, 20-80% - average, 10-90% - fair.

For best convenience, stick with mcs 90 80; mcs 80 70 for a perfect balance between convenience & battery wear. If you want the longest battery lifespan, use mcs 42 41 or mcs -k 42 (best for prolonged usage -- i.e., navigation).

mcs [-b] [-h] [-i] [-r] [-v] [debug] [-k LEVEL] [PAUSE% RESUME%] [PAUSE%] [-m PAUSE% RESUME%] [-s --enable/disable] [-t PAUSE% RESUME%] [-d %/TIMEOUT] [-e %/TIMEOUT] [-x /path/to/switch ON_key OFF_key]

`-b` --> reset battery stats on demand (does not work on all devices)

`-h` --> m cs usage instructions

`-i` --> display battery info

`-r` --> resetmccs to its initial state

`-s` --> pause/resume, --enable/disable service

`-v` --> toggle extensive (loops) verbose

`-x` --> pick a different charging switch from the database

`debug` --> gather debugging data & save it to /sdcard/mcs_debug-DEVICE.log

just `mcs` --> run MCS with default/saved settings

`-k` LEVEL --> keep/maintain battery power at a constant LEVEL (pauses MCS service)

`PAUSE% RESUME%` --> pause charging at PAUSE% value (default 90); resume if battery drops below RESUME% (default 80). This is the `initial setup command`. If auto-run is OFF, the command works as is; else, new settings are saved and automatically picked up by MCS service.

`-m/-t PAUSE% RESUME%` --> generate automation config (-m for MacroDroid; -t for Tasker -- pick one)

`-d [%/TIMEOUT (optional)]` --> disable charging on demand (pauses MCS service)

`-e [%/TIMEOUT (optional)]` --> enable charging on demand (pauses CS service)

`-x` /path/to/switch ON_key OFF_key -- > manually set a charging switch; if keys match one of the following as is or in reverse oder -- you don't have to specify them: 1/0, enable/disable, enabled/disabled, true/false, on/off, 100/3

### Usage Examples/Tips

`mcs 85` --> pause charging at 85%; resume when battery level is less or equal to 80% (default).

`mcs 80 20` --> pause charging at 80%; resume when battery level is less or equal to 20%.

`mcs -d` --> disable charging.

`mcs -e` --> enable charging.

`mcs -d 30m` --> keep charging disabled for 30 minutes

`mcs -e 1h` --> keep charging enabled for 1 hour).

`mcs -e 80%` --> Charge until battery level equals 80%.

`mcs -d 40%` --> Charge until battery level equals 40%.

`mcs -e 120 && mcs -d 30m && mcs -e 1h` --> charge for 120 seconds, pause for 30 minutes, then charge again for 1h.

`mcs -e 30m && mcs -d 30m && mcs -e 90%` --> charge for 30 minutes, pause for 30 minutes, then charge again, but this time until battery level is greater or equal to 90%.

`mcs -e 50% && mcs -d 5h && mcs -e 80% && mcs -d 30m && cs -e 90%` --> charge until 50%, pause for 5 hours, charge until 80%, pause for 30 minutes, charge until 90%.

Ideally, you want your battery level between 40-60% - best, 20-80% - average, 10-90% - fair.

For best convenience, stick with mcs 90 80; mcs 80 70 for a perfect balance between convenience & battery wear. If you want the longest battery lifespan, use mcs 42 41 or mcs -k 42 (best for prolonged usage -- i.e., navigation).

-Credit -

1. Magisk devlopers for make this

2. Me for shared this post

For mor info Go to my youtube channal

D-AZ Dinesh

And watch full toturial

Dont forget to thank ||