/Android-Life-Knowledge

What paths does the Android kernel use to see/write things like battery and storage life profiles?

Apache License 2.0Apache-2.0

Battery Life

The Android kernel is currently reading the battery health information in this file. Usually 40-80% and 20-80% charge cycles keep your battery health percentage high.

Battery Value

/sys/class/powersupply/battery/charge_full

Charging Cycle

/sys/class/powersupply/battery/cycle_count

Qualcomm Battery Life (Found)

These files has never been tested and it is not known exactly what it does. For example, it may affect cpu/gpu performance 💀

/sys/class/qcom-battery/soh
/sys/class/qcom-battery/fg1_soh

Warning

It is possible to edit these files on old Android devices. However, if you exaggerate and enter an incorrect value, your phone may indicate the battery incorrectly and shut down prematurely.

Storage Life

The Android kernel is currently reading the storage life information in this folder.

/sys/devices/platform/soc/1d84000.ufshc/health_descriptor/

Important

There is no known benefit or harm in editing this file. However, editing is not recommended.

Ufs health information is given in the image below.

Storage Healt

Tip

Software hardware lifespan data does not represent the actual lifespan. It's just a software profile. Restrictions can be added to prevent the phone from suddenly shutting down and other things.

Telegram

https://t.me/cleverestech