The clerk was probably doing you a favour. It is not, and never has been, acceptable to validate a Railcard discounted ticket using a picture of a Railcard (whether a picture of a physical card, or a printed out screenshot of a digital one).
You are liable to being required to pay a new undiscounted Anytime (Day) Single, Penalty Fare, or even prosecution under Railway Byelaw 18, if you cannot produce a Railcard to validate a Railcard discounted ticket. If the situation is regularised through either of the former means (new ticket or Penalty Fare), you can obtain a refund of this once per 12 month period, if you later contact the relevant TOC's customer services with evidence of having held a valid Railcard at the time of travel.
Problems with battery life are why I, for one, shy as far away as possible from Digital Railcards and will likely only ever get one when a plastic card is no longer an option.