Without an uninterruptible power supply, you’re just a power outage away from losing all your work.
The best way to save battery on a Windows PC is to adjust your power mode settings, and reduce your brightness.