Apple has been tinkering with ways to make the iPhone better at managing battery life intelligently based on usage pattern, a new patent filing published by the USPTO today (spotted by AppleInsider) reveals. The application describes a system that learns your habits, evaluates how much power is needed between your usual charges and does everything it can to keep the phone running when…