Re: [PATCH] platform/surface: aggregator_registry: Give devices time to set up when connecting

2021-04-07 Thread Hans de Goede
Hi, On 4/6/21 1:12 AM, Maximilian Luz wrote: > Sometimes, the "base connected" event that we rely on to (re-)attach the > device connected to the base is sent a bit too early. When this happens, > some devices may not be completely ready yet. > > Specifically, the battery has been observed to

[PATCH] platform/surface: aggregator_registry: Give devices time to set up when connecting

2021-04-05 Thread Maximilian Luz
Sometimes, the "base connected" event that we rely on to (re-)attach the device connected to the base is sent a bit too early. When this happens, some devices may not be completely ready yet. Specifically, the battery has been observed to report zero-values for things like full charge capacity,