MatteCarra / MatteCarra/AccA

Bug: Charge one time without restrictions

Open
#227 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
1.4k
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Device: Xiaomi Mi 9 Lite (pyxis)
ROM: Evolution X 7.6 (A13)
Kernel: 4.9.335-lineage+ (stock)
Magisk: 25.2
Charger: Xiaomi 18W (MDY-10-EF)
ACCA version: 1.0.35
ACC version: v2021.8.31
API version: 202108310

Actual Behaviour:
Pressing the charge one time up to #%, without restrictions sometimes does nothing and sometimes lowers the charging current down to 500mA (i think it breaks the communication with the charger).

Expected Behaviour:
Pressing the charge one time up to #%, without restrictions disables all restrictions and charges the phone to x% at full power.

NOTE: I know limiting the current works, and disabling the limit and replugging the charger effectively removes the restriction, but when using the button and even replugging nothing happens.

What logs should I provide?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Android UI flow for the “charge one time up to #% without restrictions” action and reproduce it using the Xiaomi Mi 9 Lite, Evolution X 7.6, and ACCA 1.0.35 details provided. Inspect the resulting logs and charging-current behavior; done means the action reliably removes restrictions and charges to the selected percentage at full power.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.