Apple has introduced a new security feature in iOS. While it may not be entirely new to those in IT, it functions similarly to rebooting a device to resolve issues. This feature automatically reboots iPhones after three days of inactivity if the device has not been unlocked for 72 hours. This measure helps prevent attacks, such as attempting various combinations to unlock the phone or attempting to install remote backdoors by actors. That's my guess on its purpose. More https://www.404media.co/police-freak-out-at-iphones-mysteriously-rebooting-themselves-locking-cops-out/
@nixCraft It's not theory. By rebooting it goes to a "before unlocked state" which means encryptions aren't decrypted yet, things aren't accessible even to the owner, etc etc. Once you first unlock your phone after a reboot it unlocks access to your data and there are then potentially ways to gain access to that while the phone is still powered up. By rebooting it loses this. Android has a before unlocked state too when rebooted. It's not really about rebooting to fix anything, just to switch back to that.
I actually keep wondering if there is any way to get Android devices to do this. In some ways I almost would rather that just simply locking the screen sent it back to a before locked state even.
Closest I know of is lockdown mode, but it doesn't unmount encryption.
@nazokiyoubinbou yes, that makes sense. customisable value (or even random time) would be more suitable. Pixel phone may get such feature soon and I hope other vendor will port it out their older firmware too.