sodcalculator

10 Tech How-To

Keep OBS Running During Indian Power Cuts

Guide 10-30406 · Updated · Step by step

This guide explains how to keep OBS Studio recording or streaming on a Windows PC when India’s power supply cuts out. You’ll learn about UPS sizing, battery backup settings, and software tweaks that let your stream survive short outages and resume cleanly after longer ones. First, you’ll need a UPS (uninterruptible power supply) rated for your PC’s power draw, and a basic understanding of your Windows power settings.

What You’ll Need

  • A UPS (preferably line-interactive or online double-conversion) with enough VA rating for your PC and monitor.
  • A spare power strip (to connect only critical devices to the UPS).
  • OBS Studio installed (latest version).
  • Administrator access on Windows to change power settings.
  • Optional: A laptop (if you have one, it’s the simplest solution).

Step-by-Step

  1. Calculate your power needs. Check your PC’s power supply unit (PSU) wattage and your monitor’s wattage. Add them together, then multiply by 1.5 to get a safe VA rating. For example, a 500W PSU + 50W monitor = 550W × 1.5 = 825VA. Buy a UPS with at least that rating.
  2. Connect only critical devices to the UPS. Plug your PC and monitor into the UPS’s battery-backed outlets. Do not plug in speakers, printers, or phone chargers—they drain battery fast. Use a surge-protected power strip for non-critical items (but not into the UPS battery outlets).
  3. Install the UPS’s USB driver software. Most UPS units come with a USB cable and software (like PowerChute or ViewPower). Install it so Windows can communicate with the UPS. This lets you set automatic shutdown when battery is low.
  4. Configure Windows power settings. Go to Control Panel > Hardware and Sound > Power Options. Click “Change plan settings” for your active plan, then “Change advanced power settings.” Set “Hard disk > Turn off hard disk after” to “Never” (to avoid disk sleep). Set “USB settings > USB selective suspend” to “Disabled.” Set “Sleep > Sleep after” to “Never.” Apply these changes.
  5. Set OBS to use a low-latency encoder. In OBS, go to Settings > Output. For streaming, choose “Hardware (NVENC, AMF, or QSV)” as the encoder. Hardware encoding uses less CPU and power, extending UPS battery life. For recording, choose a format that’s efficient, like MKV (not MP4, because MP4 files corrupt if the PC shuts down mid-recording).
  6. Enable OBS’s “Reconnect” feature for streaming. Go to Settings > Advanced. Under “Network,” set “Bind to IP” to “Default.” Enable “Automatically reconnect” and set “Reconnect delay” to 5 seconds and “Max retries” to 10. This helps OBS reconnect to Twitch/YouTube after a brief power blip.
  7. Test your setup. Unplug the UPS from the wall while OBS is recording. Note how long the UPS lasts. If it’s less than 5 minutes, consider a bigger UPS or reducing load (e.g., turn off monitor brightness). Also check that OBS keeps recording without glitches during the switch.
  8. Set up automatic shutdown on low battery. In your UPS software, set it to shut down Windows gracefully when battery reaches 20%. This prevents data loss and allows OBS to save the recording. In OBS, enable “Save recordings to a file that’s recoverable” (for MKV) so you can recover the file after a crash.
  9. Consider using a laptop as a backup. If power cuts are frequent and long, stream from a laptop with a full battery. Connect it to a mobile hotspot (with a power bank) for internet. This gives you 2-4 hours of runtime.

Common Mistakes

  • Underestimating power draw: Many people buy a 600VA UPS for a gaming PC that draws 700W. The UPS overloads and shuts down immediately. Always calculate with a safety margin.
  • Plugging too many devices into the UPS: Adding a monitor, router, and speakers can halve your battery time. Keep only the PC and monitor on battery.
  • Using MP4 recording: MP4 files become unreadable if the PC loses power mid-write. Use MKV or FLV, then remux to MP4 afterward (File > Remux Recordings in OBS).
  • Not testing the UPS: A UPS battery degrades over time. Test it monthly by unplugging it for a few minutes.
  • Ignoring Windows updates: A Windows update can restart your PC during a stream. Set active hours in Windows Update to avoid this.

Tips

  • Invest in a pure sine wave UPS if you have an active PFC power supply (common in modern PCs). Modified sine wave UPSs can cause instability.
  • Use OBS’s “Auto-Remux” feature to automatically convert MKV to MP4 after recording ends.
  • Reduce OBS’s bitrate slightly during power cuts to lower CPU/GPU load, extending battery life.
  • Keep your UPS battery healthy by not letting it discharge fully. After a power cut, recharge it fully before the next one.
  • If you’re on a laptop, set Windows to not sleep when the lid is closed (in Power Options) and keep it plugged into a power bank with USB-C PD if possible.

Troubleshooting

  • UPS beeps continuously: This usually means overload. Unplug non-essential devices. If the beeping continues, the battery may be faulty—replace it.
  • PC shuts down immediately after power cut: Your UPS is too small. Check the load percentage in the UPS software. It should be under 80%.
  • OBS doesn’t reconnect after power returns: Ensure your internet router is also on a UPS (or has a battery backup). If not, the stream will drop. Also, check OBS’s “Reconnect” settings are enabled.
  • Recording file is corrupted after a crash: If you used MKV, OBS can recover it. Go to File > Show Recordings, look for a .mkv file with a .part or .tmp extension. Use the “Remux” function to repair it.
  • Windows sleep settings keep changing: Some UPS software overrides Windows power settings. In the UPS software, disable its own power management and rely on Windows settings.
  • UPS doesn’t communicate with Windows: Try a different USB port, reinstall the driver, or check if the UPS has a network card. Some UPSs need a special cable.

Frequently Asked Questions

Q: How long will my UPS keep my PC running?
A: It depends on your UPS’s battery capacity (VAh) and your PC’s power draw. A typical 1000VA UPS with a 400W load lasts about 10-15 minutes. Check your UPS’s specifications for runtime graphs.

Q: Can I use a car battery to power my PC?
A: Yes, with a pure sine wave inverter, but it’s not recommended for beginners. You need to monitor voltage and have proper fuses. A UPS is safer and simpler.

Q: Will OBS automatically save my stream if power cuts?
A: No, streaming is live. But if you’re recording, OBS can recover the file if you use MKV. For streaming, you’ll need to reconnect manually or use the auto-reconnect feature.

Q: Should I use a generator instead of a UPS?
A: Generators are for long outages, but they take time to start and can have unstable voltage. A UPS bridges the gap until a generator kicks in. Use both for best results.

Q: Is it safe to leave my PC on a UPS 24/7?
A: Yes, UPSs are designed for continuous use. Just ensure the battery is replaced every 3-5 years and the unit is kept in a ventilated area.

Q: Can I use a laptop as a UPS for my desktop?
A: No, you can’t easily connect a desktop to a laptop’s battery. But you can stream from the laptop itself, using it as a backup PC.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →