python program to auto shutdown windows when laptop is running on battery after user defined time