What I need to achieve: dry battery provides power for more than 5 years. There are only three external interfaces, two GPIO and one USART. Two GPIOs are used for external interrupt, and USART is used for communication with upper computer. The projec...