Fixed a few issues

Everything is working except it sometimes doesn't come out of sleep
mode and needs a reset and the battery meter doesn't work.