macadmins / macadmins/SupportCompanion
Battery Health Check
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 187
- Forks
- 12
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Hello,
During the tests of the solution we faced the issue with the Health Battery check incorrectly based on the SystemProfiler there is showing different informations, and based on the looks on the code I'm trying to understand why for the Health are not using the MaxCapacity value, but are using the AppleRawMaxCapacity / DesignCapacity * 100, which on my device showing 102%, when System Profiler as showing 100%, for other few devices are showing as well differences.
Thanks,
Dawid
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Swift code that calculates Battery Health from AppleRawMaxCapacity and DesignCapacity, then compare those inputs with MaxCapacity and the System Profiler value on the affected devices. Done means the health check's reported percentage is reconciled with the expected System Profiler value or the discrepancy is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100