I have a Vim3 Pro with android setup as a carpc and I would like my VIM3 to shut down or suspend with the lowest power draw possible based on the ETH state.
The Vim3 is connected to a hub that is powered by the system and the Vim3 is direct to the battery for power.
So if it could somehow be setup to monitor the Ethernet port state and suspend OR power off and back on by the change of state this would solve a lot of issues for me.
As we have quite a lot in common with our projects… Maybe my idea could be utilized in Yours too. Microcontroller (some version of Arduino maybe) gives pulse to XPWR pads when it detects suitable impulse.
I had thought about an arduino but I am concerned as my application is used off road there will be jarring and vibrations to contend with. I am looking to minimize the circuity and possible points of failure.
Since the discovery of the timed relays I realized I could in theory do it this way and get rid of a lot of GPIO connections and spare circuits.
I even did a bench test of a super capacitor UPS system but finding a way to trigger an orderly shutdown was tedious to say the least.
I believe an app could be put together to monitor the port link state and perform a shutdown accordingly.
I may ignore all this and let the android system hard crash as android is fairly tolerant of this. I just hate it
“afak, when you suspend in Android, it can only be woken up by button interrupt.
the only other way I’d imagine it happening is, with some external device switching it on/off…”
I plan to use a timed relay of 5 min to give a full power cut to the VIM after its done its orderly shut down.
So the hub/switch etc will cut with the bike and the VIM will have a full power cut 5 min later. The VIM would have a timed shut down so its completed shutdown maybe 5 sec before the relay cuts power.
I may have found a cure to this issue in the APP “Automate” by llamalab.com
It appears to have network connectivity monitoring with shut down abilities.
Will test soon. This is just a quick look from my ph.