Track window active time