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