In theory, just keeping it plugged in might be enough - the recovery method when the 12V battery is discharged was described in the now removed on-line BMW workshop manual as:
- open car door with manual key,
- open charge door with manual pull
- plug car in
- wait for 12V battery to 'fill' enough for relays to bring online the traction battery which then keeps 12V charging.