If you unplug the air purifier and plug it back in to the same outlet, does it start working again?
Also, there are outlet testers available at big box stores that are fairly inexpensive that will indicate if your outlets have power and are wired properly.
An important test. Unplugging the device could be resetting some internal switch or timer.