A battery with a built-in inverter (battery has AC plug) may seem like the way to go for convenience, but an inverter will use a significant amount of the battery's power to convert DC power to AC power.  This then has to be converted back to DC power for the CPAP machine to run. Additionally, if the inverter fails, the battery is no good.