Skip to content

emipa606/LaptopBatteryStatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaptopBatteryStatus

Image

Shows your laptop battery status in the game, hopefully this will help you save before you run out of power. Changes color based on laptop percent batterypower left, limits configurable in the mod-settings.

There are options for colors based on if the battery is currently charging or is already fully charged. Also an optional autosave when below a defined percent, to the filename "Battery at X%".

If you use this mod on a computer without a battery, it will just show ”No battery” instead.

On most platforms, this mod uses a built in function of Unity (Rimworld's framework). When running on a SteamDeck in SteamOS, Unity's battery functions don't provide accurate information, so the mod now uses information exposed by the Linux kernel via sysfs.

Idea by: JukeboxTheGhoul

Image

Since modding is just a hobby for me I expect no donations to keep modding. If you still want to show your support you can gift me anything from my https://store.steampowered.com/wishlist/id/Mlie]Wishlist or buy me a cup of tea.

https://ko-fi.com/G2G55DDYD]![Image](https://i.imgur.com/VWG0yff.png)

Image

https://steamcommunity.com/sharedfiles/filedetails/changelog/2857288632]![Image](https://img.shields.io/github/v/release/emipa606/LaptopBatteryStatus?label=latest%20version&style=plastic&labelColor=0070cd&color=white)