Chuwi stylus not entirely working

Hello. I have bought a chuwi hi 10 x with stylus H7 this summer. It worked fine until around autumn when it started to act up. The stylus stops working for some tie and it bothers me a lot, since I use the tablet mainly for taking notes at school. The batter is not a problem since I recently changed it to an expensive one. The pen keeps on dying (or disconecting) and sometimes comes back after pressiing buttons.
I just wonder if anybody had a similar issue and if you could help me in any way. Thank you!!