I wish the OS took over this. Calculated on system info, tasks, previous operations, and operations performed on similar devices (ie crowd sourcing). Windows mines enough data from you to make this fairly easy.