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

Feature Request: Add "Fix Battery" Option to Force Battery Health Data Resynchronization After Firmware Restore #687

Open
D33F4ULT opened this issue Oct 13, 2024 · 1 comment

Comments

@D33F4ULT
Copy link

I’d like to request a new feature to be added to the idevicerestore tool. Specifically, I'm looking for a "Fix Battery" option that forces iOS to resynchronize and retrieve fresh battery health data from the Battery Management System (BMS) during or after a firmware restore.

Background:
In tools like 3uTools, there is a useful feature called "Fix Battery" that is commonly used after replacing an iPhone battery. This option forces iOS to fetch accurate battery health information (capacity, cycle count, etc.) from the BMS chip, which can fix incorrect or missing battery health statistics in iOS.

Currently, when replacing an iPhone battery or after a firmware restore, iOS may not automatically refresh the battery health status, leading to inaccurate data being displayed in Settings. This feature is particularly useful in cases where:

  • The battery was recently replaced.
  • Battery health data was corrupted or not displayed properly.

Proposal:
I propose adding a flag (e.g., --fix-battery) in idevicerestore that will:

Force the iPhone to reset and re-read battery health data from the battery’s BMS after a firmware restore.
Potentially clear any cached or outdated battery health data, ensuring iOS retrieves the correct information from the battery.
This feature would be a valuable addition for users dealing with battery replacement and battery health display issues on iPhones. Any insights on the feasibility of this request or recommendations for how it might be implemented in libimobiledevice would be appreciated.

Thank you for your consideration!

@nikias
Copy link
Member

nikias commented Oct 14, 2024

I would add it if knew how it works...

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