I have same issue on Mint xfce and lubuntu on my DX0D 5010 with 16GB flash without wifi card.
I've installed thinOS and SUSE (from dell, if someone is interested how to do that, I can post detailed instructions), both can shutdown device with no problem. I also tried Damn Small Linux and it also works fine (at least once). Both (SUSE and DSM) works on very very old kernels like 2.x. However today linux with such an old kernel is almost unusable. So it is not about "tweaks" it is more about some bug in new kernel version (maybe 4.20) or maybe related to some issue with amdgpu drivers - I'm not sure, I have no knowledge how to proceed with further debug. Best solution I already have is to install smart plug and cut the power off about 5 minutes after scheduling shutdown - it is ugly as hell, disable option to use WOL and consume electricity 24/7, but it does the job.
This is caused probably by race condition somewhere in cpufreq. You can read more here:
- https://bugzilla.kernel.org/show_bug.cgi?id=201965
- https://bugzilla.kernel.org/show_bug.cgi?id=199349
- https://lkml.org/lkml/2018/11/13/857