First of all, I want to remind the main idea is - AUTOMATIC charging of the device. There is no differ I unplug charger or I press button in android application.
Well, I have one small trouble.
Yes, I have Orvibo S20 Wi-Fi socket. And yes, I found Linux applications for Wi-Fi sockets - Domoticz and UDP Sender. But I am not Linux user and I can brick my device as easy as say 1-2-3.
It looks very easy:
case POWER_SOURCE of
BATTERY:if BATTERY_LVL < 10 then WIFISOCKET(ON);
SOCKET:if BATTERY_LVL > 99 then WIFISOCKET(OFF);
But may be it is possible to switch power on or off even using existed circuits inside of MPWP.
I have usb charger for 18650 batteries, and after batteries is fully charged, charger no more charges batteries. Batteries become cold, power consumption are almost stopped, just LEDs are powered.
I don’t think it is а trouble for WD.
So. For a now.
I don’t have programmable socket, although it was planned to buy it on Aliexpress. An it is not “smart” charging.
But seems Orvibo’s application can do the same. So now I think I will use OrviboS20 as “dumb” programmable Wi-Fi socket. OrviboS20 must be connected to Internet to do programmed cyclic actions. Yes, it is bad.
Look here - now 2017, not 2007 or 1997. It is century of smart-, hi- and automated- technologies. And “smart” charging is “must have” function.
You are plug the device a charger at evening and go to sleep. Will you wake up on alarm-clock to unplug device at midnight? Sounds strange, isn’t it?
It is software issue, and can be (or already) implemented in firmware release.