Use battery temp connector as analogue input device (from waterwingz):http://chdk.setepontos.com/index.php?topic=10385.msg112252#msg112252