What happens when #Android manufacturers prefer battery life over proper functionality 😮
This is from the android issue tracker about OEMs stopping background workers unexpectedly ✋
58 comments
@djh @faheus @elfrinjo no, it’s a life saver. Closed loop artificial pancreas systems reduce lows and highs. But it’s a recent technology and there are only a few devices with limited configurability - and not all insurance plans cover them. These people trying out open source versions are pioneers. @rc @djh many diabetics hack pumps and apps in this way due to proprietary software and the whole system "retail" being prohibitively expensive. I don't know much about the actual hacking side of it but I am not brave enough to experiment with it myself. I do multiple daily injections to manage my blood sugar - a luddite in the type 1 world! Fortunately the CGM should catch the high blood sugars but it still isn't optimal diabetic treatment! I'm on an ultralente and a log, which works just fine for me, but even without a pump, recently my Android phone has been disabling the CGM's notifications for Reasons, which, yanno, not so good. I make half jokes about how because I can tell when I'm low while awake, I can't tell so easily when I'm asleep, so I prefer to be higher before I slumber... Mobile phones are not intended to be medical devices. It can be difficult to create a dedicated device. But to run life-critical software on an internet-connected computer where you have little control or knowledge of the inner workings? Was the app actually killed by the phone to save power? Is there a bug that caused the app to be killed? Perhaps the bug is in the app, not the phone? @djh thats bad product design, but Samsung is to blame as well, they're just bad at doing Android the right way imo. @djh wouldn't an insulin pump be a class one medical device under FDA regulations? Like.. erm.. wtf? @djh Android APS is an open source/patient-and-advocate-driven project. So…no approval involved, really. There’s a very long history here that I (pump wearing T1D) don’t know all the details of about unbelievably frustrating FDA/regulatory foot dragging on approving innovations in closed loop pump technology. The most specific early precipitating example was probably European regulators approving the first Medtronic Guardian system something like five+ years before the US did. @djh they’ve basically caught up (and in fact IMO have possibly swung a bit too hard), but it contributed to a trend of T1D-adjacent folks hacking the available technology to DIY their own closed loop pumps. I have the impression that the movement led to embarrassment at the FDA, amping the pressure to figure their shit out when it comes to approving pump software innovations (like official closed loop stuff, which has been an astonishing game changer in T1D management over the last <5 years). @djh (sorry, you didn’t really ask for a walk through recent socio-technical-regulatory history viz a viz type 1 diabetes medical equipment, but I felt like just saying “AAPS is open source” without at least SOME context was only gonna be more confusing…) It never should have made it past a design review, let alone prototyping, testing, pre-production... @djh somebody doing diy insulin pump control is kinda outside the approval process anyway ... @djh #T1D myself. Of course, and of course this one is a system built from multiple parts with no certification. I actually considered setting up such a system for myself a few years back. It's the uncommon cases that made me back off. @djh /... @djh /... @djh an app is bad enough, but depending on BT working 100% of the time is somehow even worse @djh I'm not too familiar with the diabetes apps on android, but AAPS sounds like one of those DIY (or compile IY) diabetes apps that are not exactly approved by the local medical device approval authority. But people use those anyway because the same QoL improving features they already have are to be released from the insulin pump manufacturer within the next couple of decades :D @djh Let's step back a bit here: Why on earth are people running criticial health controls on an android smartphone? This has nothing to do with "proper functionality", but it's the wrong platform for these kinds of apps. Critical apps needs an RT operating system, guaranteed resources, a watchdog, and more. And the pump shouldn't rely on bluetooth in the first place, it's not a protocol for safety critical communication. @crepererum @djh You might cry, but using Bluetooth for safety critical operation is pretty common these days. Well, and considering the poor quality of other safety critical components in such setups, the Bluetooth connection might often be the most reliable part of these systems. We have failed. @ids1024 @crepererum @djh In the end you work with hard dead lines for safety criticial operation: "If no packet, no hearthbeat received within X milliseconds, assume the physical emergency stop button has been pushed". Exactly same code path. If you don't get the physical emergency stop button right, you are doomed anyway. @crepererum @djh yes, but that is all that people are being offered or able to afford. This is a systemic problem. Not a moral failing of someone who needs to take insulin. @djh tbh using an android phone to automate what should be running on a RTOS inside the device is kind of a bad idea. @djh (Having said that, maybe you don't want to rely on electronic toys for stuff that might kill you. There are many other ways this could have happened) @djh @djh I've been told that the ability to GPS-tag photos taken with Sony cameras using their app (the camera links to the phone) is similarly affected by this issue, so the camera disconnects every few minutes; but this post is a far more dangerous result of the problem! @djh why would you even THINK about controlling something that important by your phone? That said: this is bad for non-stupid-usage too. Like having things monitor the network. Thing is, vendors still don't take smartphone OSes serious. It's toys to them! If your desktop OS would randomly kill processes, you'd get rid of it sooooo fast. @djh I wouldn’t rely on Samsung software to wipe my arse. wish their failings were more widely known @djh whilst Android OEMs doing stupid things (Samsung) annoys me no end… but holy cow this isn’t a problem with Samsung. This is a problem with the equipment manufacturer itself relying on a consumer smartphone for critical medical functionality. Sure, have a configuration interface on a phone. But the logic should be fully handled on the medical equipment and should definitely fail in a safe way. I have a similar problem with my dexcom which works with my omnipod (insulin pump). Whatever the phone is doing now when an alarm goes off, it shuts my phone down. Doesn't matter if it is completely charged, it shuts down. When it starts back up, it turns the dexcom off. The only time it stays on when an alarm goes off is if the phone is plugged in @djh I suspect this is more Samsung issue than Android. I had pure Android phones, now using Samsung and the bs with constant "optimisations" are very annoying here in Samsung. @djh Thanks for reminding me to never trust any #MedicalIT and to keep @internetofshit - Style stiff from my body. Cuz that's literally a way one could kill a person!!! @djh Time to run the Android app on a PC emulator. Then no power-saving shenanigans. Either #BlueStacks or Win11. Doesn't get you away from multiple OS shenanigans, nor the ridiculousness of running critical logic on Android, but better than relying on a phone device whose entire purpose is to shut itself off. Nothing remotely as important as an insulin pump, but this makes sense of one of my apps not working properly, so thanks for sharing! @djh How scary! An app killing software that could literally kill someone. and I wanna scream out to the makers of these automated things, let me customize my own tech, a life may depend on it... and in this case, a life literally does. |
An insulin pump which depends on an app working at all times sounds like something that should not make it through approval ⚡