mahimmiraj wrote:
the keyboard button feels sticky when I restart; it works like normal. Is it related to this problem?
No, not from the information provided.
The sticky feel of the key is most likely due to liquid residue or crumbs & dirt stuck in the key mechanism. The butterfly mechanism used by this keyboard has very little tolerance for any foreign substances....even the tiniest bit of dirt could gum up the mechanism. If the issue is caused by debris, then you can try cleaning the keyboard using the instructions in the following Apple article (make sure to keep the can of compressed air completely upright or you may damage the laptop with the cold wet propellant):
How to clean the keyboard of your MacBook or MacBook Pro - Apple Support
FYI, if you have Apple or an Apple Authorized Service Provider replace the Battery, then you will receive a new Keyboard as well since Apple considers the Battery to be part of the Top Case/Keyboard Assembly (the battery is glued to the underside of the Trackpad & Palmrest). Just don't mention any keyboard issues, or Apple may up the price of the repair by replacing the "Keyboard" instead of the "Battery". The Top Case/Keyboard Assembly is very expensive, so Apple offers a lower price for the part when it is only addressing the consumable battery component.