California has a nice law that says that the employee owns IP created on his own time, unrelated to work, etc. This is a reason I moved to CA: the state I was in lacked such a law, and all the tech companies had contracts that failed the sex tape test. I suspect that for a place to flourish like Silicon Valley, it needs a law that protects self bootstrapping startups.
California law only seems different to other states.
In practice, it's much the same.
Engineers often misinterpret the provisions of the law.
" (1) Relate at the time of conception or reduction to practice of
the invention to the employer's business, or actual or demonstrably
anticipated research or development of the employer; or
(2) Result from any work performed by the employee for the
employer."
#1 is pretty vague, and it has been interpreted broadly by most courts.
Almost every engineer i've talked to think it means "unrelated to the work i'm doing for the employer" (which is really part #2 of the law).
However, it in fact says that not just "work related to stuff you are doing for your employer", but "work related to stuff your employer does at all or has said they will probably do in the future" can be owned by the employer, even in your spare time.
So if you work for a company that does a lot of things, you should not expect to own anything.
In practice, this is not very different from the laws of most states.
While I am a lawyer, this is not legal advice. Just trying to correct a misconception.
I guess the "unrelated to work" might be a point of debate once you create IP of high value.
In fact, in Germany we have the "Arbeitnehmererfindungsgesetz (ARBNERFG)" [1] which stipulates that your employer has first right to all patents and inventions related to your work, even if you create them in your spare time. The basic reasoning is that your employer supplies you with all tools and ressources required for the invention in question. It would be way too easy to just clock out, return to your desk and a minute later write down the world formula and sell it for billions. You're entitled to a compensation though.
The law looks a little stupid when applied to computer science but makes much more sense in a research or engineering context.
It's also ridiculously outdated. It's from 1957 and based on an outdated, traditional understanding of "big" industrial/engineering companies and their employees ("the little guys"). Also, it protects the companies' interests to the detriment of the employees' interests, which is understandable given that it is based on a war-time law (WWII) which was supposed to support German war engineering.
I'm not so sure that it's ridiculously outdated. Sure, it could use a brush-up but it acknowledges the basic fact that your employer often spends time educating you and allows access to ressources in your line of work that form the basis of your inventions - hence the requirement that the invention be related to your work. Fact is that inventions are rarely a stroke of genius that happens instantly in vacuum. They're often refinements and improvements of readily known things. Quite often they're obvious and simple in hindsight.
It's a hard balance to strike, but just giving the option of moving all "inventions" to after-hours so that the employee gets all benefits won't cut it either, especially with modern work-time models such as flex-time or home office. I don't have a perfect solution, but giving the employer first-buy rights seems like a reasonable starting point for a compromise. The law stipulates a reasonable and fair compensation for the work provided.
I love it how German seems to be able to put the whole law in one word :) It doesn't sound that stupid, depending on what "related" means - if it is indeed almost the same as you are being paid for, then it may make some sense (I'm not sure I agree with it, as it's basically means employer owns your thoughts, which seems a weird concept to me, but even if it is wrong it's not completely stupid). If it's just "it's all computer stuff so must be the same" then it's stupid. I'd say it all depends on how the courts will be treating it.
Overly broad applications are rare in germany. If you look at an engineering or research context it's easier to nail down: If you're a researcher the employer pays you for your thought and provides the lab, access to related research, to peers to discuss stuff with etc. Now you've been working on a particularly hard problem and the stroke of genius strikes you at midnight, you get up, work straight for two days and write down the formula you've been working on for years. It's worth a billion dollars. Technically it's during off-hours, so is it yours?
There is such a law but you should not assume it means what you think it means. Talk to a legal professional if it's important to you. One IP lawyer I interacted with maintained that the rulings in actual court practice are very unfavorable to the moonlighting employees. To the point that CA labor code 2870 might as well not exist (although of course he didn't say that in so many words.) "Actual or demonstrably anticipated research or development of the employer" can be made to mean anything. I asked, "Say I worked for a company that makes software for medical devices, and I work on cell phone apps in my spare time, could they still claim that it's related to their research and development?" He said, "Yes."
I hear you. While living at my prior location, I was always integrating plausible deniability into my business plans and their initial implementations, besides keeping my work super secret. Now I don't worry about the secrecy, and feel more relaxed about deniability. (Not that I've been doing anything seriously since I moved here --- I like my team, and I would like to accomplish big things with them.)
That sucks. "Actual or demonstrably anticipated research" looks like a fairly clear attempt to make sure that companies can't just claim that they might be planning to go into some unrelated field, and it's unfortunate the courts don't see it that way.
Your employer should have supplied you with the necessary paperwork to sign (this part is also stipulated in California, AFAIK, that you be made aware of that right)