[Tool] "Efficency Mode" and Battery-Mod Info for Custom Roms

Benni:)

Senior Member
Jan 18, 2012
141
57
0
Karlsruhe
mcs was renamed to acc

MCS Info, or Horrible Hack based on the Android N Quick Settings Codelab
(mostly relevant for Moto Z... users)

I'm using mcs for "efficency-mode" In the default settings mcs will charge the battery if its lower than 80% and only up to 90% charge.

https://github.com/Magisk-Modules-Repo/Magic-Charging-Switch

This is a small app to make using it more pleasant.

It has a main-view that will show the battery and service status of mcs.

And a tile to toggle the mcs-state.
  • normal tile means that mcs is active
  • tile greyed out means that normal charging is enabled
This tile will also show the charge of my Incipio Battery Mod when its connected. When the mod is charging the battery the icon will change accordingly.

Long pressing the tile will open the main app.

Features
  • show MCS and Battery Info
  • tile: toggle mcs-active / charging
  • tile: show mod charge
  • tile: show whether the mod is charging the battery
  • tile: long press to open main app

Needs

Bugs
  • Will crash when no rootaccess is given (I will probably never fix that)

Release: https://github.com/Spoil001/mcs-Info/releases

Sources: https://github.com/Spoil001/mcs-Info

Screenshots





 
Last edited:

heithered

Senior Member
Nov 15, 2013
365
78
48
Izmir
Thanks for the app its working really well but i have a question, if i run "mcs 80 75" via terminal emulator and use your app only to check mod battery level would it cause any problems?
 

VR25

Senior Member
Apr 20, 2013
1,753
4,365
153
New release:
now compatible to mcs 2018-08-08

History:
v. 1.0
- compatible to mcs 2018-07-24
If you plan to move this project further, it's a good time to work on supporting the beta channel. Current status is "good enough as a dairy driver" and the current stable may soon be replaced. ;)
 

Benni:)

Senior Member
Jan 18, 2012
141
57
0
Karlsruhe
If you plan to move this project further, it's a good time to work on supporting the beta channel. Current status is "good enough as a dairy driver" and the current stable may soon be replaced. ;)
I know about the beta channel, but didn't find the time to play with it, yet.

Does the beta still have the same limit logic?

Then I'll just have to change three lines ?
 

VR25

Senior Member
Apr 20, 2013
1,753
4,365
153
I know about the beta channel, but didn't find the time to play with it, yet.

Does the beta still have the same limit logic?

Then I'll just have to change three lines ?
Lol

Yes, it's basically the same.
...But there are new features for pushing battery lifespan even further.
 
  • Like
Reactions: Benni:)

ErikEBZ

Member
Mar 25, 2018
7
1
0
New release:
now compatible to mcs 2018-08-08

History:
v. 1.0
- compatible to mcs 2018-07-24
its a great job, its really useful, do yo have plans for updating to the new version 2018.12.18 (201812180)?

[acc] Non-interactive shell support
[accd] Always overwrite charging switch.
[accd] Higher coolDown sensitivity
[accd] Make sure the number of running instances is at most one.
[accd] More efficient log size watchdog
[accd] Pause execution until data is decrypted.
[General] Rearranged charging switches to accommodate newer devices, such as the OnePlus 6/6T. Reports suggest that these don't work correctly with .../battery/charging_enabled.
[Installer] When updating config.txt, try patching relevant lines only, instead of overwriting the whole file.
 

Benni:)

Senior Member
Jan 18, 2012
141
57
0
Karlsruhe
its a great job, its really useful, do yo have plans for updating to the new version 2018.12.18 (201812180)?

[acc] Non-interactive shell support
[accd] Always overwrite charging switch.
[accd] Higher coolDown sensitivity
[accd] Make sure the number of running instances is at most one.
[accd] More efficient log size watchdog
[accd] Pause execution until data is decrypted.
[General] Rearranged charging switches to accommodate newer devices, such as the OnePlus 6/6T. Reports suggest that these don't work correctly with .../battery/charging_enabled.
[Installer] When updating config.txt, try patching relevant lines only, instead of overwriting the whole file.
the plan is to update during the holidays.
 

Benni:)

Senior Member
Jan 18, 2012
141
57
0
Karlsruhe
New version is online.
Have fun: https://github.com/Spoil001/mcs-Info/releases/tag/2018-12-22

its a great job, its really useful, do yo have plans for updating to the new version 2018.12.18 (201812180)?

[acc] Non-interactive shell support
[accd] Always overwrite charging switch.
[accd] Higher coolDown sensitivity
[accd] Make sure the number of running instances is at most one.
[accd] More efficient log size watchdog
[accd] Pause execution until data is decrypted.
[General] Rearranged charging switches to accommodate newer devices, such as the OnePlus 6/6T. Reports suggest that these don't work correctly with .../battery/charging_enabled.
[Installer] When updating config.txt, try patching relevant lines only, instead of overwriting the whole file.
 
  • Like
Reactions: GammelBS

Benni:)

Senior Member
Jan 18, 2012
141
57
0
Karlsruhe
Yes, the information is normal. (screenshots are from mcs)

Mod and service status is only in the quicksettings-tile.

Hi, i see you update this tool, i installed it to test it but the only info i get in the app is this:

is this normal?
Actually i'm using this version 2018.12.26.1 (201812261), i tried to search for 2018.12.22 (201812220) but i could not get it.
 
Last edited: