Rumor has it that keeping an 8-year-old phone permanently plugged in with its equally ancient Li-ion battery might not be the greatest idea ever conceived.
Some even claimed that a phone needs a battery to work.
Very negative people.
Anyway, I removed it.
Pettyl did not care.
nginx: UP PHP-FPM: UP MariaDB: UP WordPress: UP cloudflared: UP sshd: UP
The battery is currently sitting next to the phone, contributing absolutely nothing to the project.
Pettyl is now running entirely from USB power, at around 37°C, while continuing to serve the website like this is completely normal.
There is, however, one tiny detail the haters may enjoy:
It can’t boot without the battery.
So the official Pettyl disaster recovery procedure is now:
- Insert battery
- Boot Pettyl
- Connect USB power
- Remove battery
- Pretend this is enterprise infrastructure
The battery is no longer a battery.
It is the starter motor.
I see no problems with this architecture.
Anyway, Part 3 is going great.
Remember bezels?
Remember the days when hou could just pop the back off and take the battery out?
And it would still run when you had it plugged in. I could remove the battery from my old Galaxy S2, plug it in and it would work. And if I remember correctly, the same thing went for most of the phones I had before that.
Still have my LG Optimus on Android 2.x somewhere. With 512MB RAM I dunno what to do with it outside of a clock display, but I have it (and a spare battery).
That’s where I am today with my Fairphone.
I honestly held on to my old Nokia, replacing batteries and cases until Fairphone came along and then I jumped from 90’s tech to modern day.
0–>100% in 10 seconds (with a 2nd battery)
Damn, I wish they still made phones with a removable battery
All batteries are removable once
I used to keep a charged spare on me. And this was back when a phones battery life was like 3-7 days.
Stop making phones thinner God dammit. I don’t want a thinner phone. I want longer battery life and a removable battery so I can fucking double the shitty longer battery life I get.
And a big enough pocket to hold it securely, no matter what gender clothing you wear!
Here here!
There, there. It’s “hear, hear.”
Where, where?
Wherever you were talking about when you said “here.”
Oh, there, there?
That’s kinda hard when women’s pants often have no pockets, fake pockets, or pockets so small they’re functionally useless.
That’s why it’s a response to “I want…”!
An add-on to the wishlist, as it were. I’m just an old non-tech cis woman but I firmly believe generous pockets could and should be designed/engineered/built into every twirly skirt, every thigh-high (but down near the ankle bc gravity) every booty pant and even red-carpet gala gowns. At least someone finally realized workout leggings can have a pocket down on the leg if it’s so god-damned important not to interrupt the “line” elsewhere.
And everyone should feel free to wear whatever styles they feel suit them, with neither social stigma nor pocket-neglectful construction holding them back.
Hell yeah sister! I’m 100% for this. I’m a cis guy but the clear disparity of pants pockets between gendered clothing (and clothing being gendered at all) has always irked me. Everyone should have equal access to pockets!! (Silly but serious)
I used to keep a charged spare on me.
There’s at least one Chinese brand that has smartphone with hot-swappable battery: https://rugone.net/products/xever-8
Removable battery. Swap within 2 minutes for zero interruption. After 2 minutes, the device enters a 60-second safety lock-out to protect your data.
Unfortunately, software from these brands tends to be shit. I feel like they just outsource it to the cheapest company. Especially following this recent thing:
As of March 4, Sophos X-Intercept telemetry listed over 500 unique compromised Android devices across nearly 50 models. The devices were mostly low-cost models produced by the following manufacturers: Allview, BLU, Dcode, DOOGEE, Gigaset, Gionee, Lava, and Ulefone. The list did not include Alldocube devices, despite Kaspersky reportedly observing Keenadu affect that manufacturer as well.
Didn’t EU pass a regulation regarding that? If I recall correctly all portable devices sold in the EU after February will will need to have a user replaceable battery.
i’m curious to see how apple will workaround the regulation
They already did I believe. They enhanced their battery glue so it should be easier to remove; reduced the amount of different screwdriver types required to access the battery to one or two; and put a small repair tool set up for sale, for the low price of $700. Thats already impressive for Apple standards
Didn’t know that, fantastic!
I just got a fairphone 6. Removable battery!
I’m still using my fairphone 5 :)
They do. They’re generally just… not very good or are very expensive.
Samsung had a good one in the Xcover. I’d get one but… well… Samsung.
I wonder if my pixel 7 pro that dies suddenly can do the same. I suspect the battery just packed up
Regular-ish Linux won’t care, given that the BMS is also removed and isn’t dangling from the battery connector.
Android will fuck you over and bootloop. Android recovery, too.
Source: I tried.
Why not connecting the battery with a cable and put a switch in it?
I have a simillar setup but i kept the battery it acts like a ups
in my experience phone batteries plugged 24/7 will increase in size
It not plugged in 24/7. It runs 1.5 days without charging so no issue.
Sweet. Free capacity increase
also: free temperature increase :)
Anything made to be run from battery can work fine without one. Worst case scenario requires you to spoofing some I²C telemetry, but outside of that, DC is DC.
The charging cirtuit that also tries to guess the battery percentage can be the problem. The ‘guessed percentage’ will depending on the chip and programming go down even if you solder in a dc power supply. When it hits the 0% it will shutdown.
Thats the case for some smart phones.
I should test this with my old s8
Had to toss the spicy pillow and had no clue what to do with it since
I’ve run laptops without a battery, constantly plugged in. I assume this is not a fire hazard.
That’s perfectly fine. The only issue is that it may limit performance on some laptops.
No more than any other electrical device.
Not sure why you’re being downvoted, but you’re absolutely correct
Something weird is going on with votes. Idk if it’s just me or a federation problem.
Glorious.
What did you put in place of the battery? nothing or a cap? i tried this with a moto g6 but there is not enough power delivered through its own usb port so i have to use a 5volt source+capacitor connected to the bms i saved from the battery.
I did not need to fake battery presence, just needed the battery as a starter, once the phone is booted just removed the battery.
Although the real test is yet to come, I have to leave it like this for a day or two, to see if it powers off when CPU spikes…

Awww… I remember back when batteries were removable. Good times.
They still are: Fairphone
Ghetto engineering is best engineering.
I love this. Deeply.
Moto uber alles.
Lol thank you so much, and I absolutely love what you said: “MOTO ÜBER ALLES”
I want to use it on the website instead of the boring copyright text lol, if it’s cool with you, I’ll even credit you!
Do it - I’m right here
And we’re live!

When the battery in my wall mounted android tablet swelled i had to add a 10k resistor to the sense line, inject the 5V directly into the battery port and add a few capacitors to get it to work. But at least it won’t cause a fire now.
I just have to say, I really enjoy your writing style. Fun project, great post!
Thank you for the kind words 🎩
Well you better go catch it!
How do I sign up for the pateron?

















