Keeping track of time since last used

Nick Gammon's power saving tutorial may be useful

...R