Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acc does not work #278

Open
hello-world-321 opened this issue Jan 23, 2025 · 1 comment
Open

Acc does not work #278

hello-world-321 opened this issue Jan 23, 2025 · 1 comment

Comments

@hello-world-321
Copy link

Hello, Acc does not stop charging. I have set it stop at 60 and start at 50.

Logs : https://drive.google.com/file/d/1C1lbpNlIm2lMWRw3TWUZ7MgyGiI-uOBJ/view?usp=sharing

acc -v : v2025.1.11.1-rc (202501111)
acc -sp

allow_idle_above_pcap=true
amp_factor=
batt_status_workaround=true
capacity_mask=false
cooldown_capacity=50
cooldown_charge=
cooldown_current=
cooldown_pause=
cooldown_temp=35
current_workaround=false
force_off=false
lang=en
max_charging_current=
max_charging_voltage=
max_temp=50
resume_temp=45
off_mid=true
pause_capacity=60
prioritize_batt_idle_mode=true
reboot_resume=false
reset_batt_stats_on_pause=false
reset_batt_stats_on_plug=false
reset_batt_stats_on_unplug=false
resume_capacity=50
shutdown_capacity=5
shutdown_temp=55
temp_level=0
volt_factor=
apply_on_boot=""
apply_on_plug=""
batt_status_override=""
charging_switch="battery/test_mode 2 1 --"
idle_apps=""
run_cmd_on_pause=""
@bermudahonk
Copy link

You are using a switch that is called "test_mode". I don't think this is a working switch. Check out what other "switches" you phone has and try them out. Working switches usually have names that contain the combination of keywords like "enable", "charging", "battery" and/or "suspend".
On my Xiaomi Mi 10 I have 2 working switches in the battery folder:

battery_charging_enabled
battery_input_suspend

Both trigger charging/discharging notification when I change their value via echo command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants