If you need a laptop that can last an entire day without blinking, you'd need to change the power profile in the Tuxedo Control Center and go with either the "Powersaver Extreme" profile or create ...
You don't need fancy hardware to get started on your coding journey. A low-spec computer will likely be more than you need to ...