Thanks, but the patch seems quite a hacky solution, and very specific to your hardware too (eg, I don't even have a /sys/devices/platform/dock.0/docked when my laptop is docked). A more robust check would be to see if there are any external monitors connected.
Thanks, but the patch seems quite a hacky solution, and very specific to your hardware too (eg, I don't even have a /sys/devices/ platform/ dock.0/ docked when my laptop is docked). A more robust check would be to see if there are any external monitors connected.