Just for general knowledge, my pen had similar problems. I dismissed it being a battery issue as it was a new device less than a month old.
I went to the MS store and assured the rep that it could not possibly be the battery. I only let her put in a fresh AAAA battery just to "check that box"...