In response to determining that the interface is detached from {HEAD ~ the host device}, {TAIL ~ the electronic circuit} is coupled to the battery 
In response to determining that the interface is detached from { HEAD ~ the host device } , { TAIL ~ the electronic circuit } is coupled to the battery
OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH TAIL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH