A UPS is a battery and an inverter between the ship's supply and a load that must not see a blink. An online UPS runs the load from the inverter all the time, with the rectifier charging the battery and feeding the inverter, so a dip or a blackout upstream never reaches the load; a static bypass switch moves the load to raw supply if the inverter fails, and a maintenance bypass lets you work on the UPS with the load still fed. Line-interactive units feed the load from the supply and switch to the inverter in a few milliseconds when the supply fails; cheaper, and fine for things that can take a few milliseconds. The UPS feeds the bridge electronics, the automation cabinets, the radio station on some ships, the PLCs, the computers.
What fails: the battery, always first, then the fans, then the rectifier or inverter. A UPS alarming on battery when the supply is fine is a battery that has failed its self-test. A UPS on bypass is a UPS doing nothing, and the load is one blackout away from a cold restart. Know which loads are on which UPS, and know that a UPS feeding more than it was sized for runs for minutes, not the hour on the label.
Pocket rules. Battery first, fans second. On bypass means not protecting. Know the loads on each UPS. The runtime on the label assumes a new battery and the design load.
Electrical or mechanical. All electrical. Inside the inverter: spare module or vendor.