feat: 添加电池和GPS支持,更新配置文件,新增相关脚本和服务

This commit is contained in:
2025-09-16 17:46:18 +08:00
parent fffe32888c
commit 15936404b6
75 changed files with 3541 additions and 0 deletions

10
gps/init.redroid.gps.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/vendor/bin/sh
if [ ! -f /data/vendor/gps/gnss ]; then
echo "LatitudeDegrees=30.281026818001678" > /data/vendor/gps/gnss
echo "LongitudeDegrees=120.01934876982831" >> /data/vendor/gps/gnss
echo "AltitudeMeters=1.60062531" >> /data/vendor/gps/gnss
echo "BearingDegrees=0" >> /data/vendor/gps/gnss
echo "SpeedMetersPerSec=0" >> /data/vendor/gps/gnss
chmod 777 /data/vendor/gps/gnss
fi