rearranged makesd scripts

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
calculate battery temperature

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>