Seems to be missing a case: https://github.com/m5stack/M5Unified/blob/master/src/utility/Power_Class.cpp#L245 with the wake up pin being 48 I believe according to schematic?