狂男风

Results 37 comments of 狂男风

Some of the output of `--info` I don't quite understand: * these are settings of acc: ``` CHARGING_ENABLED=1 INPUT_CURRENT_MAX=100000 INPUT_CURRENT_TRIM=30 INPUT_CURRENT_SETTLED=0 INPUT_VOLTAGE_REGULATION=1 VOLTAGE_MIN=4300000 BYPASS_VCHG_LOOP_DEBOUNCER=0 CHARGE_FULL=0 CHARGE_FULL_DESIGN=0 TEMP_COOL=0 TEMP_WARM=0 ``` *...

Why create and detect `/dev/path/started_flag` file. Wouldn't it be enough to just detect `--daemon` and run `service.sh`?

I get it. My previous implementing was: ``` acca --daemon # if acca does not exist, $? is 127 if [ "$?" -ne "0" ] service.sh fi ``` The downside...

As an app, it is difficult to detect the presence of `magisk`, so the scheme to detect `acca` is better than the `started_flag` file scheme. On a `magisk` device, the...

* Is `max_temp_pause` redundant? As I understand it, when `max_temp` is set, `acc` will loop to detect if temperature is higher than `max_temp` and then pause charging. Then setting the...

Questions about `charging_switch`: * When controlling the charging switch by voltage, does it have only one value of 3700? * When controlling the charging switch by current, is the value...

A usable version is out: https://github.com/CrazyBoyFeng/AccSettings/releases Minimum Android version: 4.0 (API level 14) You can also compile and package it yourself with Android Studio or Gradle. There are still some...

Originally, the purpose of `capacity_freeze2` was to stop the system capacity from dropping below 2%, thus preventing the system from shutting down automatically. But after changing to `capacity_mask`, it seems...

I seem to understand that the formula `capacity = capacity * (100 / pause_capacity)` doesn't work when `capacity

I think `capacity_freeze2` and `capacity_mask` would be better as two separate features. This also has some backward compatibility. What if someone wants to prevent shutting down, but doesn't need masking...