解析方法

规则版本 rules-2026.11

这份说明把「满电到底怎么算的」讲清楚,方便你判断结果可不可信。

1. 数据来源

iPhone 会在系统分析日志里记录电池管理信息。路径是「设置 → 隐私与安全性 → 分析与改进 → 分析数据 → log-aggregated-*.ips」。你把它导出并通过文件选择器交给满电,App 只读这一份文件。

2. 两种日志格式

两条路径都跑,谁先拿到完整字段就用谁;如果一份文件里完全没有电池字段,会明确报「文件读到了,但里面还没有电池字段」,而不是猜一个数字。

3. 字段优先级

容量字段在不同系统版本里名字不一样,取值顺序是:

循环次数取 CycleCount,设计容量取 DesignCapacity。几个字段谁先出现不影响结果。

4. 健康度

健康度 = 最大容量 ÷ 设计容量 × 100%,保留一位小数,并标注 ±0.6% 的估算区间。它不是 Apple 电池健康页面的复制品——同一天读出来的值可能略有差异,因为两者的采样来源不同。

5. 置信度

6. 换电预测

取最近 90 天的样本做最小二乘线性回归,外推到健康度 80% 的那一天,并给出一个区间(下界与上界)。以下情况宁可不给结论:

样本不足时页面会直接写「先记录几周,再谈预测」——不吓人,是我们对这个功能的底线。

7. 我们不做什么

8. 已知边界

Method

Rules version rules-2026.11

This page explains how Mandian does its math, so you can judge how much to trust the numbers.

1. Where the data comes from

iOS records battery-management details in its analytics logs: Settings → Privacy & Security → Analytics & Improvements → Analytics Data → log-aggregated-*.ips. You export that file and hand it to Mandian through the file picker; the app reads only that one file.

2. Two log formats

Both paths run; whichever yields a complete set of fields wins. If a file contains no battery fields at all, the app says so explicitly rather than inventing a number.

3. Field priority

Capacity fields are named differently across OS versions. Priority order:

Cycle count comes from CycleCount, design capacity from DesignCapacity. The order in which fields appear in the file does not change the result.

4. Health

Health = max capacity ÷ design capacity × 100%, to one decimal, shown with a ±0.6% margin. It is not a copy of Apple's Battery Health screen — readings taken on the same day can differ slightly because the two use different sources.

5. Confidence

6. Replacement forecast

The last 90 days of samples are fitted with a least-squares line and projected to the day health reaches 80%, with a range around it. Mandian deliberately stays silent when:

When samples are thin, the screen simply says "record a few more weeks first" — not scaring people is the whole point.

7. What we don't do

8. Known limits