add "#region access power status" for sql and power_on/power_off switch case