I think that best way is to use internal comparator to wake up pic.