I am unfamiliar with the reported feature as it is not in the feature documentation for Teltonika devices. So far, I have collected as much information from other sources as possible and tested this feature on a RUT955, essentially getting the same described issue scenario. I connected my mobile device to the external USB port, and even though I powered off the port, the device stilled charging. However, it does it at a lower charging rate.
Output after sending the power off command:
Mobile message after unplugging and plugging again to the USB port:
Reading the package GitHub documentation, I found a warning indicating this feature only works on USB hubs with the hardware necessary to allow software-controlled power switching because most hubs do not have such hardware. The documentation also shows a list of the Hubs known to work for verification purposes. Below is the Github link documentation:
So, please check your device Hub vendor by executing the following command in the Command-Line Interface: cat /sys/kernel/debug/usb/device:
Search for the USB2.0 Hub product and copy the vendor code and introduce it on this website:
Select USB as type and introduce your vendor code. In my case, the vendor is Genesys Logic, INC. Then manually search for the Hub listed product on the website and look for any product match. For my part, I did find a manufacturer name match, but it is not the same listed device name:
Also, I found this other source for product and driver searching purposes:
Based on the information above, it seems the feature could be not working as expected due to hardware incompatibility. Please comment on this asked verification , and I will consult our internal staff for more related information about your query.
I hope this information has been helpful for you.