Battery detection fixes. More precise fan control with LPCSensors. Various fan control bug fixes in HWMonitor. Refactoring.