This is a hardware problem of the IP5306 buck converter going into standby after 32 seconds. It is explained in this thread: http://forum.m5stack.com/topic/62/ip5306-automatic-standby