According to security experts, Apple added a new feature in iOS 18.1 that puts an iPhone in a special secure mode after a period of inactivity to protect data.
Your iPhone's next update could tell you exactly how long you need to reach a certain level of charge, with more granular controls than are currently present.