A circuit is using a N-channel MOSFET Q3 to switch off supply to part of the circuit using a microcontroller output: the source is connected to the actual ground, drain to the switched ground and the gate is driven by the microcontroller which is connected to the actual ground.
The reason for that has to do with the purpose of the circuit, for power saving and for "historical reasons".
This circuit has worked well in actually fairly harsh conditions (hight temperatures) for most of the year. The last few days however (cold and no more sunshine powering the batteries through its solar panel) some erratic behavior is seen (data not properly transmitted). When recovering the unit from the field I notice that LED3 (battery) keeps lighted, even with Q3 forced closed (gate to 0V). When measuring conductivity between switched ground (GND) and actual ground (AGND) there is no conductivity.
No shorts, or bad soldering, or bad connections are seen. Q3 can be switched properly by connecting the gate to either AGND or to Vcc.
Do you have any suggestion or explanation for the bizarre behaviour of LED3?