Phones are not designed for continuous power draw (and consequent heat dissipation) - contant-use power dissipation limits are very low. The performance dips dramatically, and the constant high temperature kills the onboard flash prematurely. Same thing applies to the radios - wifi and cellular. Sustained data transfer on either of those interfaces causes issues - dropouts/disconnects/thermal reboots.
This is in addition to the fact that phones just don't have great I/O.
But there's more nasty lurking problems in this area, like that phones aren't designed to be continuously powered. They will naively try to keep the battery at or near 100% charge, which will destroy it relatively quickly, and not uncommonly in the "it's bulging and increasingly likely to burst into flames" variety. 2 years is considered a "decent run" for things like device test labs as a result (see eg the FAQ on https://github.com/DeviceFarmer/stf )
If you do your timer idea it seems like either you're going to be hitting it in the 80%+ recharge over & over & over again, which doesn't seem meaningfully different from leaving it plugged in? Or you'll be in the sub-80% quick-charge zone, which will destroy the battery even quicker.
An external case can help to a very limited extent. I tried attaching a large PC heatsink, and it did help, but not to the extent that made the "server" any good. I just switched it out for a 50$ RPI4 and its vastly better in pretty much every way.
Maybe someone here can help me understand how power draw works on Android.
I have a ZTE Z959, a Cricket device. I use the phone to take photos with Open Camera every few seconds and stitch them together to make a video with ffmpeg. (Someone told me that YouTube has no practical limit on storage and I wanted to prove that they will cap me at some point but that is a topic for another day. Basically, the tl;dr here is for my casual use, YouTube has unlimited storage).
But I digress. The point is at some point the phone's battery started swelling up which became a fire hazard. I wanted to power the phone without battery. I have a Thinkpad 65W USB type-C charger. The first challenge was easy to work around. The phone just goes on a boot loop but if I add the battery and plug in the charger, the phone boots up ok. After the phone boots, I can remove the battery and the phone stays on (provided I don't do things like use flash, my guess is flash needs more power than my charger can provide.
Can someone shed more light into this process? How does all of this work? Does all of this mean my phone is technically running from battery even when it is connected to the wall?
In the end, it really wasn't worth the hassle. Networking ports would go unresponsive when the mobile CPU on the phone would go into "deep sleep". The battery began expanding after a few months.
CPU was more than capable to do the actual processing work. I/O with the SD card was passable.
I really wish someone would invent some sort of generic battery adapter that could transform any device requiring a battery into something that can run on direct power. I really adore that old Sony Ericsson Xperia android device.
The charge-discharge cycles needlessly put a lifespan on that component when I'd like to have it left on 24x7.
Same for always-powered laptops. With WFH, for 1+ year I've used my Thinkpad as a desktop, not bothering to unplug when fully charged, and now the battery doesn't hold charge for 10+ mins.
About 4 months after COVID hit and I started to WFH, the battery in my Pixel 3 started to swell because I had allowed it to basically live on the charger all day, constantly at 100% battery. Also, by that point, a 100% battery would only give me about 2 hours of screen time.
A few months ago, I got a Pixel 6 Pro, and I'm basically just charging it from a weak 500 mA USB port a couple hours each day, keeping the battery between 50-80%. I'd really like to set an 80% charge limit and just forget about it.
I don't know anything about how much "oomph" a dashcam needs as opposed to a smart phone or an uninterruptible power supply but I kno0w one of the bullet points in the marketing of the dashcam on my car was it uses a small capacitor as opposed to a battery and therefore it is safer to use it in a hot car.
I had a dash cam years ago that had a capacitor, and all it really was for was to make sure the camera could finish a write operation and close the video file gracefully to avoid corrupting the last segment. Cameras with batteries often can support recording even while the car is off without draining the car's battery.
IMO, the solution to the battery-in-a-hot-car problem is to have the battery be an in-line part of the power cable that can be placed in the glove box, outside the direct sunlight, rather than building it into the camera itself.
On my OG Motorola Droid, I once tethered my laptop to it and downloaded a torrent.
In 15 minutes, I drained 25% of the battery. IIRC, it had a ~2,000 mAh battery. That meant I was pulling 2 amps from it. This was back in 2010, when most phone chargers and USB ports were still only 500 mA.
If I had relied on USB power, it wouldn't have been able to power it.
Oh, and yes, the phone got incredibly hot during this time. I thought I was going to burn my hand when I picked it up.
But anyways in the general case the user wants the battery to charge when they connect their phone. Not allowing the phone to run without a battery will show more clearly that there is an issue with battery connection or battery itself, than if the phone would run when connected to power without battery.
This is a non-issue since battery status (or lack thereof) is clearly shown in the UI. A more likely issue is that the battery is commonly relied on to deal with peaks in power draw, beyond what can be supplied via the USB port. This can even be an issue in many laptops.
Yes, it does the same thing on my old ZTE z959. However, the phone boot loops if I try to boot it without a battery.
It sounds nothing, but looking at Nginx logs scrolling on a tiny phone screen is so unbelievable.
I've been thinking about this quite seriously, and for now I see a few pain points:
- Some phones (looking at my daily driver, a Galaxy S4) do seem to allow disconnecting the battery from the charging circuit, which could lead to issues in the long run
- Ideally, you'd want to connect a USB hub over USB OTG (wired Ethernet, USB storage, real keyboard). I have yet to try charging the phone at the same time, although I think some cables enable this.
Upcycle an old Android phone. Install apps for Nextcloud, Jellyfin, etc. Do a quick OAuth2 flow with your domain name provider to tunnel a subdomain directly to the app, and you have an end-to-end encrypted private cloud.
For this to work we need:
* Simpler domain name providers targeted at consumers instead of IT professionals. You shouldn't need to understand DNS records to use a domain.
* An open protocol for setting up tunnels[0].
* Nextcloud et al need to implement the protocol on their end. For open source projects 3rd parties can make wrappers.
[0]: https://forum.indiebits.io/t/toward-an-open-tunneling-protoc...
I remember being able to run a rootless debian chroot (using utility called proot) on Android 9 device, but things might have changed in meantime and I don't know if it's still straightforward.
If you're looking for serious performance, though, it may not be practical.
note: I am the developer of UserLAnd.
(1)https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d...
Even ignoring USB 3, most servers should work fine when capped to 100 or 200Mbps.
I just checked my Pixel 5 for example reports USB 3.2 (as in, that's what it's actually connecting as to a Linux host per bcdUSB)
I want to treat the "old" phone as a server: 8 cores , 6 GB Ram, UPS, plenty of storage(expandable), Low power consumption , small form factor, redundant network 4/5G+Wifi, has built in screen and "keyboard" for time when you need to do debugging.
Does others experience with this kind of setup? What services are you running ?