Battery Health Check

Open
#72 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
swift

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.

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

Dominant language
Swift
Stars
187
Forks
12
Avg merge
1m
Merged PRs (30d)
2

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.

More from macadmins/SupportCompanion

All issues in macadmins/SupportCompanion

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.