If your MacBook is from 2017, then it is an Intel machine. Intel machines can run Linux, you can just install it instead of MacOS or even dual boot it.
And if it is a MacBook, you can simply replace the battery. It is super straightforward to do so. You buy the new battery, you don’t need to get it from Apple, and you need the oentalobe driver and the torx driver. Open up the back and replace it. Apple stores will even take the old battery off your hands.
You might not be able to upgrade storage or ram, but with a new battery and your linux, you could absolutely get more life out of your machine.
To be repairs advocate.
If your MacBook is from 2017, then it is an Intel machine. Intel machines can run Linux, you can just install it instead of MacOS or even dual boot it.
And if it is a MacBook, you can simply replace the battery. It is super straightforward to do so. You buy the new battery, you don’t need to get it from Apple, and you need the oentalobe driver and the torx driver. Open up the back and replace it. Apple stores will even take the old battery off your hands.
You might not be able to upgrade storage or ram, but with a new battery and your linux, you could absolutely get more life out of your machine.