Please let me know if you have come across a tool with this capability for Windows 7
1) read system start up and shut down times from the windows event log
2) subtract the time while the system was locked or logged off
Or if there is nothing like above, at least anything partial like parsed output of item (1) alone above, so that I can build on that