As stated in the comments, would be helpful to know the make, model or type of vacuum cleaner. One that uses a disposable bag or one that has a see through canister that you empty out when full. Also when did this problem start, after a dirt disposal operation, bag or filter change or change of attachment, pipe, nozzle etc.? More information needed.
Why remove the battery? It was by far the most tricky operation and exposed the battery to damage prying it out with a flat tool. Any puncture of the plastic jacket qoulds mean instant death to the battery and if any metal tool in contact, a fire hazard. BTW where do you get a replacement digitized for the 7inch 5th generation Kindle?