The Dell Active Pen PN556W or PN557W may write intermittently even though the AAAA battery is NOT flat and the tip is NOT damaged.
The coin-cell batteries are loose.
This intermittent writing can occur if the coin-cell battery holder is loose:
To fix the issue, ensure that the coin-cell battery holder is tightened firmly into the top cap.