News for hackers. Stuff that matters.
Re:Ask HN: IP cameras that don't require an app or internet by disposition2 on Friday June 23, 2023 @01:28PM (#36449846)
Be careful when doing this. If left unchecked this could very easily start a fire. I did this with an old Nexus 5 and it only took a couple of days before I had a spicy pillow.

Although, this probably works well for a device with a removable battery and that can be powered by USB alone.

Re:Ask HN: IP cameras that don't require an app or internet by freedomben on Friday June 23, 2023 @01:46PM (#36450062)
Yes, this is solid advice. If you are going to leave it plugged in all the time, check on the battery regularly to make sure it isn't swelling.
Re:Ask HN: IP cameras that don't require an app or internet by bobbean on Friday June 23, 2023 @02:45PM (#36450729)
Would it be possible to use the phone without a battery?
Re:Ask HN: IP cameras that don't require an app or internet by megous on Friday June 23, 2023 @03:15PM (#36451044)
If the hardware and software are designed and tested for it, then yes.

Otherwise you may run into various issues caused by phone self-limiting power it takes from USB port. Some kind of negotiation needs to happen before the phone can safely raise the input power limits. If it needs more than currently allowed, it will just poweroff immediately, instead of satisfying the excess need from the battery.

Re:Ask HN: IP cameras that don't require an app or internet by blobcode on Friday June 23, 2023 @03:10PM (#36450987)
There are a good number of androids that can run without a battery as long as they are plugged in, though that varies by model and manufacturer.
Re:Ask HN: IP cameras that don't require an app or internet by davchana on Friday June 23, 2023 @03:26PM (#36451153)
Or a timer switch. Christmas lights 6 hours on 18 off power timer switch. Or a smart switch. Also make sure there is no cushy things like pillow or clothes or stuff around phone.