Chosen Solution

Samsung Galaxy Tab A 10.1  SM-T585 get grey battery icon with white lightening flash in centre of screen when trying to charge. Comes on for about 8 seconds then screen flashes rapidly for about 2-3 seconds then goes blank again for about 20 seconds repeatedly BGJ

Replacement battery cured it