Controlling fan speed on Dell laptop

I am using a dell laptop and wish to control the fan speed for better cooling. At present im using auto-cpufreq with thermald but it is not able to detect some sensors which could be the fan. If anyone was successful in being able to control their fan on a dell laptop would appreciate your help:

● thermald.service - Thermal Daemon Service
     Loaded: loaded (/etc/systemd/system/thermald.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-11-24 13:14:13 +08; 8h ago
   Main PID: 1022 (thermald)
         IP: 0B in, 0B out
         IO: 6.4M read, 0B written
      Tasks: 5 (limit: 76776)
     Memory: 4.8M
        CPU: 1min 16.531s
     CGroup: /system.slice/thermald.service
             └─1022 /nix/store/zwv1i1wqamf8qnyqank6x6f1djmjb5qy-thermald-2.5.2/sbin/thermald --no-daemon --dbus-enable --adaptive

Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported condition 4 (Motion)
Nov 24 13:14:13 nixos thermald[1022]: [1700802853][ERR]Unsupported conditions are present
Nov 24 13:14:14 nixos thermald[1022]: [1700802854][MSG]Polling mode is enabled: 4