battery plugged in not charging

ARHAM_2

Commendable
Aug 14, 2016
16
0
1,570
i was watching videos on youtube (14%charge) when suddenly whole laptop turned off
it was like everything dead. no life at all. then i plugged in it started working again. then unplugged at 22% then crash at 15%. then i tried a full charge but it wont pass 90% first it was 92 then i used it for a while now it is 90%. the battery shows plugged in not charging.
things i tried
hard reset
bios update
reinstalled bats drivers
now i am 85 % still have not crashed
hp note book 15 r118ne
battery nearly 2 years old
 

ARHAM_2

Commendable
Aug 14, 2016
16
0
1,570

i dont have the money right now
but is there any harm using the laptop directly without battery?????