As someone with continual power outages (PR) I could offer advice. but it depends on how much money you have. The itch to code is nonexistant, its basically off grid living. keep everything offline (r/datahoarder r/opendirectories) every byte counts, Yes, Every single byte (No mp3's, its all opus) opus with a bitrate of 16 for audiobook/podcast (thank god for those, I can have an entire library of a podcast and its less than a gigabyte. Stick to less than 720p for videos. its good enough. You're going to be using the tablet a lot for movie viewing, 1080p is overkill. if you happen to have small power generation, dlna is usable on most devices. keep a fullstack language, there's only 2 solutions here I can think of luapower, and factor. (though factor is x86 only, which is pretty bad).
Power generation is tricky, if you can afford solar, do so. a gas powered generator is tricky, the smaller ones are better since they use less gas. and you want to save as much gas as possible. its amazing how ba generators are, here, you could smell it in the air like inhaling poison.