The initial problem
My 2013 MacBook Pro Retina 13″ had been running on mains power alone for years. The battery had stopped charging a long time ago, but since I used it mainly at home, I did not worry too much.
I even seriously considered replacing it with an Android tablet with “6GB + 28GB expanded” (spoiler: that expanded RAM is basically slow storage disguised as memory). But before making that decision, I decided to find out whether my old Mac could be fixed.
Discovering the hidden danger
When I finally got hold of the right Pentalobe P5 screwdriver and opened the bottom case, I came across an unpleasant surprise: one of the battery modules was swollen.
This is dangerous. Swollen lithium batteries can:
- Break internal components (especially the trackpad, which is right above them)
- Release toxic gases
- In extreme cases, catch fire or explode
If your laptop has an old battery and you notice that the trackpad is raised, the case does not close perfectly or there are visible gaps, check it immediately.
Safe handling of swollen batteries:
- DO NOT puncture, bend or squeeze it
- Remove it from the device immediately
- Place it on a non-flammable surface (metal, ceramic)
- Keep it away from flammable materials
- Take it to a recycling point or an electronics shop as soon as you can
- NEVER throw it in the regular bin
The solution: smart investment vs replacement
I had two clear options:
Option A: Buy a used laptop (ThinkPad T480 with 16GB RAM) → ~300-350€
Option B: Repair the Mac → Battery + charger → ~140€
Why repair?
Important context: I have a Slimbook Pro (2019) with 32GB RAM as my main machine. The MacBook is my secondary laptop for:
- Light development in coffee shops
- Mobility without worrying about knocks
- Situations where I need something compact and tough
For this occasional use, optimised 8GB are enough. I did not need to spend twice as much on another machine when the problem could be fixed.
The repair process
1. New battery from iFixit (120€)
I ordered the complete kit, which includes:
- A1493 battery (compatible with MacBook Pro 13″ Retina Late 2013 – model A1502)
- All the necessary tools (Pentalobe P5, Torx T5, spudger, tweezers)
- Adhesive kit
- Old glue remover
Advantage of iFixit: You do not have to buy anything else. Other sellers only give you the battery and then you discover that you need special tools.
2. Internal cleaning
Taking advantage of having the Mac open, I cleaned out the accumulated dust:
Materials:
- Canned compressed air
- Soft brush
- Microfibre cloth
- Isopropyl alcohol 90%+
Critical areas:
- Fans (holding the blades so they do not spin)
- Heat sink
- Connectors and ports
DO NOT use:
- A vacuum cleaner (static charge)
- Water
- An ordinary damp cloth
3. Spare charger (20€)
My original 2013 MagSafe 2 cable had been repaired with insulating tape for years. Even though it worked, with a new 120€ battery I did not want to risk damaging it with a worn-out charger.
After some research, I bought a SCOVEE 60W T-Tip on Amazon (19,99€):
- Compatible with A1502
- 4.8/5 stars with 81 reviews
- CE/FCC/RoHS certifications
- Positive reviews about temperature (“it does not get hot”)
It is not a premium brand like Green Cell, but for occasional use and with the good ratings, it was a sensible option. The original cable stays as an emergency backup.
Software optimisations: TLP for power management
Besides the new battery, I installed TLP to optimise power consumption automatically.
TLP optimises battery consumption automatically, with no manual configuration.
# Instalación
sudo apt install tlp tlp-rdw
# Activar
sudo systemctl enable tlp
sudo systemctl start tlp
# Ver estado de batería
sudo tlp-stat -b
The best thing about TLP: it works completely in the background. Once installed, you forget about it.
Battery calibration: critical but simple
New batteries must be calibrated so that the percentage indicator is accurate. Without calibration, the system does not know the real capacity and it can shut down at 50% or keep running “at 1%” for hours.
Correct process according to iFixit/Apple:
For laptops:
- Initial charge:
- Charge to 100%
- Keep it plugged in for 2 more hours (critical for cell balancing)
- It can be switched off or on
- Full discharge:
- Unplug and use normally
- When the low battery warning appears → save your work
- Let it shut down by itself (do not switch it off manually)
- This sets the lower calibration “anchor”
- Wait:
- Leave it switched off and unplugged for 5 hours
- This makes sure the management system records the discharge correctly
- Final charge:
- Charge uninterrupted to 100%
- ✅ Battery calibrated
Why let it shut down by itself instead of stopping at 5-10%?
The management system keeps an invisible safety reserve. When it shows “0%”, there is still real chemical charge left to protect the battery from damage. Only by letting the system shut down by itself is the “full discharge” point that the controller needs correctly established.
Results
Battery status after the installation:
sudo tlp-stat -b
manufacturer = ifixit
model_name = bq20z451
cycle_count = 1
charge_full_design = 6400 mAh
charge_full = 6661 mAh
Capacity = 104.1%
The battery has 104.1% capacity! iFixit sent a battery better than the original specifications.
System improvements:
Before:
- ❌ No portability (dead battery)
- ❌ Worn-out charging cable
- ❌ Swollen battery (danger)
After:
- ✅ 5-7 hours of battery life
- ✅ New, safe charger
- ✅ Battery with 104% capacity
- ✅ System clean inside
- ✅ TLP optimising consumption automatically
Conclusions and lessons
1. Swollen batteries are dangerous
Do not ignore the signs: raised trackpad, a case that does not close properly, visible gaps. Check it as soon as you can.
2. Repairing can be smarter than replacing
Context matters:
- Powerful main machine → repairing the secondary one makes sense
- Only occasional use → optimised 8GB are enough
- Investment: 140€ vs 300-350€ → saving of 160-210€
3. iFixit is worth every euro
Guaranteed quality, tools included, detailed guides, solid warranty. For important repairs, do not skimp on the battery.
4. Calibration is NOT optional
Two extra hours at 100% + full discharge + a 5 hour wait. It looks tedious, but it is the difference between an accurate indicator and an erratic one.
My final setup
Main machine (office/home):
- Slimbook Pro 2019 with 32GB RAM
- Heavy backend, Docker, IDEs, multiple projects
Occasional laptop (mobility):
- Refurbished MacBook Pro 2013
- Light development, tough, compact
- Real battery life of 5-7 hours
Total invested in the refurbishment: 140€
- iFixit battery: 120€
- SCOVEE charger: 20€
Expected useful life: 3-5 more years for occasional use
Useful resources
- Battery replacement guide: iFixit MacBook Pro 13″ Retina Late 2013
- Battery calibration: iFixit Battery Calibration
- TLP documentation: linrunner.de/tlp
To remember
If you have an old laptop and the battery is dead or swollen:
- Check the battery (open it and look for swelling – it is dangerous)
- iFixit for spare parts (guaranteed quality, tools included)
- Clean the inside (compressed air, take advantage of it being open)
- Install TLP (automatic power management on Linux)
- Calibrate after a new battery (full process, no shortcuts)
A 2013 laptop with a new battery and well maintained can still be perfectly usable in 2025 for light development and daily use. Not everything needs to be replaced.
Hardware: MacBook Pro Retina 13″ 2013 (A1502) | Software: Debian GNU/Linux with XFCE