Skip to content

Instantly share code, notes, and snippets.

++ Project n900
++ Developer's Journal
++ For projects goals, refer to the last entry of the this document.
DAY ONE 10 Dec 2017 @ 04:30
Wireless is now working!
By disabling wpa_supplicant service.
# rc-update del wpa_supplicant
@NikkSaan
NikkSaan / n900-battery-monitor
Last active March 6, 2020 09:42
Battery protection for the nokia n900 running PostmarketOS
#!/bin/sh
# Battery protection for the nokia n900
# When battery level falls below 8% gives led notification.
# When battery level falls below 6% powers off the device.
#
# To use it, place the script in `/sbin`, make it executable
# `sudo chmod +x /sbin/n900-battery-monitor`, then add
# `::respawn:/sbin/n900-battery-monitor` to /etc/inittab,
# or create a service for it.