You don't need batteries, you just learn to save your files often.
I live in the third world too and can say that even with crappy power supplies computers resist quite well blackouts and brownouts.
That made me remember having to update the BIOS firmware and doing it at 3AM and on a night without wind when there was almost no chance of power going out.