So... it seems like modern laptops/devices would not be used... I guess they could be if you had a generator... if you wanted to write new software/no SO-public repos to use... the crazy builds/compile that pull dependencies down.
The computers would do less/not be as fancy as now I suppose.
Maybe you'd use CLI more than a GUI.
In the situation you describe, water systems in the US West will collapse, because they depend on regional electrical power for pumping. There will be a mass migration to places with food. Lots of people will become farm workers. (Not farmers - hired or even forced labor for farmers who no longer have access to large farm machinery, pesticides, etc.)
Where I live we'll still have hydro power. Most people will be working the fields growing wheat, barley, root vegetables, etc. My expertise as a software developer will be useless. I'll likely end up working the fields, or slopping pigs, with no time for programming.
The exception is that I might be able to work as a computer (in the "Hidden Figures") sort of way. Though now that I think of it, I make a lot of calculation errors.
Also, what CAUSES the collapse? Solar flares could wipe out a large portion of tech on earth very quickly. World nuclear war as well. Those could set us back many decades or centuries in terms of technology, and that vulnerability will only get worse the further we advance. If you're expecting such an event, a safebox full of microcontrollers and equipment with a faraday cage might be a good investment.
Watching videos and listening to youtube music would likely not be possible due to lack of infrastructure, so I'd download what I can and listen sparingly.
If I'm not a farmhand and get to continue with my current job, then really nothing changes for me. I'm only limited by the sun, and the batteries in my laptop (and any spares that I charge when the sun is up)
If I am a farmhand and if I'm not exhausted after work, I might do some small web projects. It depends on how plentiful my batteries are and whether I need to keep the fridge running at night.
Maybe I'm optimistic in thinking that things would still be okay
Most of all I would want a good library at hand. All those ebooks would be gone or be a pain to access.